#942585#942585

#942585 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.180 H 334.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#942585
RGBrgb(148, 37, 133)
HSLhsl(308, 60%, 36%)
HSVhsv(308, 75%, 58%)
CMYKcmyk(0%, 75%, 10.1%, 42%)
CIE-LABlab(36.58, 55.66, -28.59)
CIE-LCHlch(36.58, 62.58, 332.81°)
OKLaboklab(47.71% 0.1617 -0.0783)
OKLCHoklch(47.71% 0.18 334.2)
XYZxyz(17.1081, 9.3140, 23.0825)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942585 #259434
analogous
#6C2594 #942585 #94254E
triadic
#942585 #859425 #258594
tetradic
#942585 #946C25 #259434 #254E94
square
#942585 #946C25 #259434 #254E94
split-complementary
#942585 #4E9425 #25946C
monochromatic
#320D2D #631959 #942585 #C531B1 #D65DC6

Accessibility & contrast

On white

7.34
#942585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#942585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942585
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942585#FFFFFF#000000##FFFFFF
##9425851.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234C88
Deuteranopia (green-blind)
#4B5C82
Tritanopia (blue-blind)
#9B2F53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #942585;
/* rgb */ color: rgb(148, 37, 133);
/* oklch */ color: oklch(47.7% 0.180 334.2);
Tailwind
colors: {
  custom: {
    50: '#b76ba9',
    500: '#942585',
    950: '#000000',
  },
}
SCSS
$custom: #942585;
$custom-light: #b76ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#942585",
  "rgb": {
    "r": 148,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 308.108,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47705,
    "c": 0.17962,
    "h": 334.2
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#942585
secondary
#59BB67
accent
#E35A45
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #942585

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

Preview Lab → · Contrast checker → · Palette generator →

#942585 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva