#7B2B85#7B2B85

#7B2B85 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.159 H 323.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7B2B85
RGBrgb(123, 43, 133)
HSLhsl(293, 51%, 35%)
HSVhsv(293, 68%, 52%)
CMYKcmyk(7.5%, 67.7%, 0%, 47.8%)
CIE-LABlab(33.21, 47.26, -34.20)
CIE-LCHlch(33.21, 58.34, 324.11°)
OKLaboklab(44.46% 0.1268 -0.0952)
OKLCHoklch(44.46% 0.159 323.1)
XYZxyz(13.2655, 7.6329, 22.9603)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2B85 #35852B
analogous
#4E2B85 #7B2B85 #852B62
triadic
#7B2B85 #857B2B #2B857B
tetradic
#7B2B85 #854E2B #35852B #2B6285
square
#7B2B85 #854E2B #35852B #2B6285
split-complementary
#7B2B85 #62852B #2B854E
monochromatic
#250D29 #501C57 #7B2B85 #A63AB3 #BF5FCB

Accessibility & contrast

On white

8.31
#7B2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7B2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2B85
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2B85#FFFFFF#000000##FFFFFF
##7B2B851.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154888
Deuteranopia (green-blind)
#385183
Tritanopia (blue-blind)
#7D3954
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b2b85;
/* rgb */ color: rgb(123, 43, 133);
/* oklch */ color: oklch(44.5% 0.159 323.1);
Tailwind
colors: {
  custom: {
    50: '#a46ba9',
    500: '#7b2b85',
    950: '#000000',
  },
}
SCSS
$custom: #7b2b85;
$custom-light: #a46ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2b85",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 293.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44457,
    "c": 0.15853,
    "h": 323.1
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

primary
#7B2B85
secondary
#64B15B
accent
#DB4D5D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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