#7B2F85#7B2F85

#7B2F85 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.153 H 322.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#7B2F85
RGBrgb(123, 47, 133)
HSLhsl(293, 48%, 35%)
HSVhsv(293, 65%, 52%)
CMYKcmyk(7.5%, 64.7%, 0%, 47.8%)
CIE-LABlab(33.85, 45.46, -33.18)
CIE-LCHlch(33.85, 56.28, 323.88°)
OKLaboklab(44.92% 0.1219 -0.0922)
OKLCHoklch(44.92% 0.153 322.9)
XYZxyz(13.4181, 7.9382, 23.0112)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2F85 #39852F
analogous
#502F85 #7B2F85 #852F64
triadic
#7B2F85 #857B2F #2F857B
tetradic
#7B2F85 #85502F #39852F #2F6485
square
#7B2F85 #85502F #39852F #2F6485
split-complementary
#7B2F85 #64852F #2F8550
monochromatic
#270F2B #511F58 #7B2F85 #A53FB2 #BD66C9

Accessibility & contrast

On white

8.12
#7B2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7B2F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2F85
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2F85#FFFFFF#000000##FFFFFF
##7B2F851.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4A88
Deuteranopia (green-blind)
#3B5383
Tritanopia (blue-blind)
#7D3C55
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b2f85;
/* rgb */ color: rgb(123, 47, 133);
/* oklch */ color: oklch(44.9% 0.153 322.9);
Tailwind
colors: {
  custom: {
    50: '#a46da9',
    500: '#7b2f85',
    950: '#000000',
  },
}
SCSS
$custom: #7b2f85;
$custom-light: #a46da9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2f85",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 293.023,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44924,
    "c": 0.15283,
    "h": 322.9
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

primary
#7B2F85
secondary
#69B060
accent
#D75060
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7B2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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