#7B2DAE#7B2DAE

#7B2DAE is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.5% C 0.196 H 308.1°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7B2DAE
RGBrgb(123, 45, 174)
HSLhsl(276, 59%, 43%)
HSVhsv(276, 74%, 68%)
CMYKcmyk(29.3%, 74.1%, 0%, 31.8%)
CIE-LABlab(36.26, 55.04, -54.22)
CIE-LCHlch(36.26, 77.26, 315.43°)
OKLaboklab(47.51% 0.1208 -0.1539)
OKLCHoklch(47.51% 0.196 308.1)
XYZxyz(16.7452, 9.1440, 40.9190)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2DAE #60AE2D
analogous
#3A2DAE #7B2DAE #AE2DA0
triadic
#7B2DAE #AE7B2D #2DAE7B
tetradic
#7B2DAE #AE3A2D #60AE2D #2DA0AE
square
#7B2DAE #AE3A2D #60AE2D #2DA0AE
split-complementary
#7B2DAE #A0AE2D #2DAE3A
monochromatic
#36144D #59207D #7B2DAE #9A48D0 #B579DC

Accessibility & contrast

On white

7.42
#7B2DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7B2DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2DAE
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2DAE#FFFFFF#000000##FFFFFF
##7B2DAE1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#734C6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7b2dae;
/* rgb */ color: rgb(123, 45, 174);
/* oklch */ color: oklch(47.5% 0.196 308.1);
Tailwind
colors: {
  custom: {
    50: '#a66ec7',
    500: '#7b2dae',
    950: '#000000',
  },
}
SCSS
$custom: #7b2dae;
$custom-light: #a66ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2dae",
  "rgb": {
    "r": 123,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 276.279,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47513,
    "c": 0.19564,
    "h": 308.1
  },
  "luminance": 0.09144
}

Semantic roles & 50–950 ramp

primary
#7B2DAE
secondary
#93C472
accent
#E24684
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B2DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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