#7F2385#7F2385

#7F2385 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.171 H 325.3°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7F2385
RGBrgb(127, 35, 133)
HSLhsl(296, 58%, 33%)
HSVhsv(296, 74%, 52%)
CMYKcmyk(4.5%, 73.7%, 0%, 47.8%)
CIE-LABlab(32.72, 51.44, -34.94)
CIE-LCHlch(32.72, 62.18, 325.81°)
OKLaboklab(44.24% 0.1404 -0.0972)
OKLCHoklch(44.24% 0.171 325.3)
XYZxyz(13.5868, 7.4084, 22.9001)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2385 #298523
analogous
#4E2385 #7F2385 #85235A
triadic
#7F2385 #857F23 #23857F
tetradic
#7F2385 #854E23 #298523 #235A85
square
#7F2385 #854E23 #298523 #235A85
split-complementary
#7F2385 #5A8523 #23854E
monochromatic
#220924 #511655 #7F2385 #AD30B5 #C951D1

Accessibility & contrast

On white

8.46
#7F2385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7F2385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2385
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2385#FFFFFF#000000##FFFFFF
##7F23851.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064688
Deuteranopia (green-blind)
#385183
Tritanopia (blue-blind)
#823352
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2385;
/* rgb */ color: rgb(127, 35, 133);
/* oklch */ color: oklch(44.2% 0.171 325.3);
Tailwind
colors: {
  custom: {
    50: '#a768a9',
    500: '#7f2385',
    950: '#000000',
  },
}
SCSS
$custom: #7f2385;
$custom-light: #a768a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2385",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 296.327,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44237,
    "c": 0.17078,
    "h": 325.3
  },
  "luminance": 0.07408
}

Semantic roles & 50–950 ramp

primary
#7F2385
secondary
#55B54F
accent
#E24650
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7F2385

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

Preview Lab → · Contrast checker → · Palette generator →

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