#902CAF#902CAF

#902CAF is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.205 H 316.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#902CAF
RGBrgb(144, 44, 175)
HSLhsl(286, 60%, 43%)
HSVhsv(286, 75%, 69%)
CMYKcmyk(17.7%, 74.9%, 0%, 31.4%)
CIE-LABlab(39.29, 59.78, -49.78)
CIE-LCHlch(39.29, 77.79, 320.22°)
OKLaboklab(50.31% 0.149 -0.1401)
OKLCHoklch(50.31% 0.205 316.8)
XYZxyz(20.1390, 10.8266, 41.5781)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CAF #4BAF2C
analogous
#4F2CAF #902CAF #AF2C8C
triadic
#902CAF #AF902C #2CAF90
tetradic
#902CAF #AF4F2C #4BAF2C #2C8CAF
square
#902CAF #AF4F2C #4BAF2C #2C8CAF
split-complementary
#902CAF #8CAF2C #2CAF4F
monochromatic
#40134D #68207E #902CAF #B047D1 #C578DD

Accessibility & contrast

On white

6.63
#902CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#902CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CAF
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CAF#FFFFFF#000000##FFFFFF
##902CAF1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#2D5FAC
Tritanopia (blue-blind)
#8E486C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902caf;
/* rgb */ color: rgb(144, 44, 175);
/* oklch */ color: oklch(50.3% 0.205 316.8);
Tailwind
colors: {
  custom: {
    50: '#b570c8',
    500: '#902caf',
    950: '#000000',
  },
}
SCSS
$custom: #902caf;
$custom-light: #b570c8;
$custom-dark: #000000;
JSON
{
  "hex": "#902caf",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 285.802,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50313,
    "c": 0.20454,
    "h": 316.8
  },
  "luminance": 0.10826
}

Semantic roles & 50–950 ramp

primary
#902CAF
secondary
#85C572
accent
#E3456A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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