#942687#942687

#942687 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.180 H 333.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#942687
RGBrgb(148, 38, 135)
HSLhsl(307, 59%, 36%)
HSVhsv(307, 74%, 58%)
CMYKcmyk(0%, 74.3%, 8.8%, 42%)
CIE-LABlab(36.80, 55.64, -29.48)
CIE-LCHlch(36.80, 62.97, 332.08°)
OKLaboklab(47.9% 0.1608 -0.0808)
OKLCHoklch(47.9% 0.18 333.3)
XYZxyz(17.2791, 9.4329, 23.8276)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942687 #269433
analogous
#6A2694 #942687 #942650
triadic
#942687 #879426 #268794
tetradic
#942687 #946A26 #269433 #265094
square
#942687 #946A26 #269433 #265094
split-complementary
#942687 #509426 #26946A
monochromatic
#330D2E #63195B #942687 #C533B3 #D65FC8

Accessibility & contrast

On white

7.28
#942687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#942687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942687
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942687#FFFFFF#000000##FFFFFF
##9426871.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C8A
Deuteranopia (green-blind)
#4B5C84
Tritanopia (blue-blind)
#9B3154
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #942687;
/* rgb */ color: rgb(148, 38, 135);
/* oklch */ color: oklch(47.9% 0.180 333.3);
Tailwind
colors: {
  custom: {
    50: '#b76caa',
    500: '#942687',
    950: '#000000',
  },
}
SCSS
$custom: #942687;
$custom-light: #b76caa;
$custom-dark: #000000;
JSON
{
  "hex": "#942687",
  "rgb": {
    "r": 148,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 307.091,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47899,
    "c": 0.17999,
    "h": 333.3
  },
  "luminance": 0.09431
}

Semantic roles & 50–950 ramp

primary
#942687
secondary
#5BBB66
accent
#E25845
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #942687

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

Preview Lab → · Contrast checker → · Palette generator →

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