#7A2FB0#7A2FB0

#7A2FB0 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.7% C 0.195 H 306.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7A2FB0
RGBrgb(122, 47, 176)
HSLhsl(275, 58%, 44%)
HSVhsv(275, 73%, 69%)
CMYKcmyk(30.7%, 73.3%, 0%, 31%)
CIE-LABlab(36.57, 54.46, -54.93)
CIE-LCHlch(36.57, 77.35, 314.75°)
OKLaboklab(47.75% 0.1171 -0.156)
OKLCHoklch(47.75% 0.195 306.9)
XYZxyz(16.8773, 9.3054, 41.9729)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2FB0 #65B02F
analogous
#392FB0 #7A2FB0 #B02FA5
triadic
#7A2FB0 #B07A2F #2FB07A
tetradic
#7A2FB0 #B0392F #65B02F #2FA5B0
square
#7A2FB0 #B0392F #65B02F #2FA5B0
split-complementary
#7A2FB0 #A5B02F #2FB039
monochromatic
#37154F #592280 #7A2FB0 #994DCF #B47DDC

Accessibility & contrast

On white

7.34
#7A2FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7A2FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2FB0
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2FB0#FFFFFF#000000##FFFFFF
##7A2FB01.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#714E6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a2fb0;
/* rgb */ color: rgb(122, 47, 176);
/* oklch */ color: oklch(47.7% 0.195 306.9);
Tailwind
colors: {
  custom: {
    50: '#a56fc8',
    500: '#7a2fb0',
    950: '#000000',
  },
}
SCSS
$custom: #7a2fb0;
$custom-light: #a56fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2fb0",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 274.884,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47747,
    "c": 0.19507,
    "h": 306.9
  },
  "luminance": 0.09305
}

Semantic roles & 50–950 ramp

primary
#7A2FB0
secondary
#97C576
accent
#E14787
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A2FB0

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7A2FB0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva