#902F9F#902F9F

#902F9F is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.5% C 0.187 H 322.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#902F9F
RGBrgb(144, 47, 159)
HSLhsl(292, 54%, 40%)
HSVhsv(292, 70%, 62%)
CMYKcmyk(9.4%, 70.4%, 0%, 37.6%)
CIE-LABlab(38.67, 55.56, -41.20)
CIE-LCHlch(38.67, 69.17, 323.44°)
OKLaboklab(49.55% 0.1473 -0.115)
OKLCHoklch(49.55% 0.187 322)
XYZxyz(18.7755, 10.4666, 33.8255)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902F9F #3E9F2F
analogous
#582F9F #902F9F #9F2F76
triadic
#902F9F #9F902F #2F9F90
tetradic
#902F9F #9F582F #3E9F2F #2F769F
square
#902F9F #9F582F #3E9F2F #2F769F
split-complementary
#902F9F #769F2F #2F9F58
monochromatic
#3A1341 #652170 #902F9F #B644C8 #C873D6

Accessibility & contrast

On white

6.79
#902F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#902F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902F9F
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902F9F#FFFFFF#000000##FFFFFF
##902F9F1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0454A2
Deuteranopia (green-blind)
#3E5F9C
Tritanopia (blue-blind)
#924364
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902f9f;
/* rgb */ color: rgb(144, 47, 159);
/* oklch */ color: oklch(49.5% 0.187 322.0);
Tailwind
colors: {
  custom: {
    50: '#b470bc',
    500: '#902f9f',
    950: '#000000',
  },
}
SCSS
$custom: #902f9f;
$custom-light: #b470bc;
$custom-dark: #000000;
JSON
{
  "hex": "#902f9f",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 291.964,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49546,
    "c": 0.18689,
    "h": 322
  },
  "luminance": 0.10466
}

Semantic roles & 50–950 ramp

primary
#902F9F
secondary
#77BD6D
accent
#DE4A5E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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