#902FAF#902FAF

#902FAF is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.6% C 0.201 H 316.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#902FAF
RGBrgb(144, 47, 175)
HSLhsl(285, 58%, 44%)
HSVhsv(285, 73%, 69%)
CMYKcmyk(17.7%, 73.1%, 0%, 31.4%)
CIE-LABlab(39.68, 58.66, -49.15)
CIE-LCHlch(39.68, 76.53, 320.04°)
OKLaboklab(50.59% 0.1461 -0.1383)
OKLCHoklch(50.59% 0.201 316.6)
XYZxyz(20.2548, 11.0583, 41.6167)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FAF #4EAF2F
analogous
#502FAF #902FAF #AF2F8E
triadic
#902FAF #AF902F #2FAF90
tetradic
#902FAF #AF502F #4EAF2F #2F8EAF
square
#902FAF #AF502F #4EAF2F #2F8EAF
split-complementary
#902FAF #8EAF2F #2FAF50
monochromatic
#41154F #68227F #902FAF #AF4CCF #C57CDC

Accessibility & contrast

On white

6.54
#902FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#902FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FAF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FAF#FFFFFF#000000##FFFFFF
##902FAF1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#3060AC
Tritanopia (blue-blind)
#8E4A6C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902faf;
/* rgb */ color: rgb(144, 47, 175);
/* oklch */ color: oklch(50.6% 0.201 316.6);
Tailwind
colors: {
  custom: {
    50: '#b471c8',
    500: '#902faf',
    950: '#000000',
  },
}
SCSS
$custom: #902faf;
$custom-light: #b471c8;
$custom-dark: #000000;
JSON
{
  "hex": "#902faf",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 285.469,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50591,
    "c": 0.2012,
    "h": 316.6
  },
  "luminance": 0.11057
}

Semantic roles & 50–950 ramp

primary
#902FAF
secondary
#88C475
accent
#E1476C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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