#902CBF#902CBF

#902CBF is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.219 H 312.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#902CBF
RGBrgb(144, 44, 191)
HSLhsl(281, 63%, 46%)
HSVhsv(281, 77%, 75%)
CMYKcmyk(24.6%, 77%, 0%, 25.1%)
CIE-LABlab(40.40, 62.99, -57.42)
CIE-LCHlch(40.40, 85.23, 317.65°)
OKLaboklab(51.45% 0.1465 -0.1626)
OKLCHoklch(51.45% 0.219 312)
XYZxyz(21.8045, 11.4929, 50.3498)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CBF #5BBF2C
analogous
#462CBF #902CBF #BF2CA4
triadic
#902CBF #BF902C #2CBF90
tetradic
#902CBF #BF462C #5BBF2C #2CA4BF
square
#902CBF #BF462C #5BBF2C #2CA4BF
split-complementary
#902CBF #A4BF2C #2CBF46
monochromatic
#45155C #6A218D #902CBF #AC51D7 #C483E2

Accessibility & contrast

On white

6.37
#902CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#902CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CBF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CBF#FFFFFF#000000##FFFFFF
##902CBF1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#1061BC
Tritanopia (blue-blind)
#8A4F75
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #902cbf;
/* rgb */ color: rgb(144, 44, 191);
/* oklch */ color: oklch(51.4% 0.219 312.0);
Tailwind
colors: {
  custom: {
    50: '#b570d3',
    500: '#902cbf',
    950: '#000000',
  },
}
SCSS
$custom: #902cbf;
$custom-light: #b570d3;
$custom-dark: #000000;
JSON
{
  "hex": "#902cbf",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 280.816,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5145,
    "c": 0.21884,
    "h": 312
  },
  "luminance": 0.11492
}

Semantic roles & 50–950 ramp

primary
#902CBF
secondary
#95CC7B
accent
#E64276
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #902CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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