#902E8F#902E8F

#902E8F is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.174 H 328.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#902E8F
RGBrgb(144, 46, 143)
HSLhsl(301, 52%, 37%)
HSVhsv(301, 68%, 56%)
CMYKcmyk(0%, 68.1%, 0.7%, 43.5%)
CIE-LABlab(37.60, 53.05, -33.18)
CIE-LCHlch(37.60, 62.57, 327.98°)
OKLaboklab(48.48% 0.1483 -0.0917)
OKLCHoklch(48.48% 0.174 328.3)
XYZxyz(17.4363, 9.8677, 26.9676)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E8F #2E902F
analogous
#602E90 #902E8F #902E5E
triadic
#902E8F #8F902E #2E8F90
tetradic
#902E8F #90602E #2E902F #2E5E90
square
#902E8F #90602E #2E902F #2E5E90
split-complementary
#902E8F #5E902E #2E9060
monochromatic
#331033 #621F61 #902E8F #BE3DBD #CF69CE

Accessibility & contrast

On white

7.06
#902E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#902E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902E8F
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E8F#FFFFFF#000000##FFFFFF
##902E8F1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215092
Deuteranopia (green-blind)
#475D8C
Tritanopia (blue-blind)
#953B5B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #902e8f;
/* rgb */ color: rgb(144, 46, 143);
/* oklch */ color: oklch(48.5% 0.174 328.3);
Tailwind
colors: {
  custom: {
    50: '#b46fb0',
    500: '#902e8f',
    950: '#000000',
  },
}
SCSS
$custom: #902e8f;
$custom-light: #b46fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#902e8f",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 300.612,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48484,
    "c": 0.17439,
    "h": 328.3
  },
  "luminance": 0.09866
}

Semantic roles & 50–950 ramp

primary
#902E8F
secondary
#64B665
accent
#DB4E4D
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #902E8F

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

Preview Lab → · Contrast checker → · Palette generator →

#902E8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva