#7B2CAE#7B2CAE

#7B2CAE is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.197 H 308.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7B2CAE
RGBrgb(123, 44, 174)
HSLhsl(276, 60%, 43%)
HSVhsv(276, 75%, 68%)
CMYKcmyk(29.3%, 74.7%, 0%, 31.8%)
CIE-LABlab(36.12, 55.45, -54.46)
CIE-LCHlch(36.12, 77.72, 315.52°)
OKLaboklab(47.41% 0.1217 -0.1546)
OKLCHoklch(47.41% 0.197 308.2)
XYZxyz(16.7075, 9.0686, 40.9065)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2CAE #5FAE2C
analogous
#3A2CAE #7B2CAE #AE2CA0
triadic
#7B2CAE #AE7B2C #2CAE7B
tetradic
#7B2CAE #AE3A2C #5FAE2C #2CA0AE
square
#7B2CAE #AE3A2C #5FAE2C #2CA0AE
split-complementary
#7B2CAE #A0AE2C #2CAE3A
monochromatic
#36134C #58207D #7B2CAE #9A47D0 #B578DD

Accessibility & contrast

On white

7.46
#7B2CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7B2CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2CAE
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2CAE#FFFFFF#000000##FFFFFF
##7B2CAE1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b2cae;
/* rgb */ color: rgb(123, 44, 174);
/* oklch */ color: oklch(47.4% 0.197 308.2);
Tailwind
colors: {
  custom: {
    50: '#a66dc7',
    500: '#7b2cae',
    950: '#000000',
  },
}
SCSS
$custom: #7b2cae;
$custom-light: #a66dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2cae",
  "rgb": {
    "r": 123,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 276.462,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47411,
    "c": 0.19676,
    "h": 308.2
  },
  "luminance": 0.09068
}

Semantic roles & 50–950 ramp

primary
#7B2CAE
secondary
#92C571
accent
#E34583
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B2CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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