#902CBD#902CBD

#902CBD is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.217 H 312.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#902CBD
RGBrgb(144, 44, 189)
HSLhsl(281, 62%, 46%)
HSVhsv(281, 77%, 74%)
CMYKcmyk(23.8%, 76.7%, 0%, 25.9%)
CIE-LABlab(40.26, 62.58, -56.48)
CIE-LCHlch(40.26, 84.30, 317.93°)
OKLaboklab(51.3% 0.1469 -0.1598)
OKLCHoklch(51.3% 0.217 312.6)
XYZxyz(21.5859, 11.4054, 49.1986)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CBD #59BD2C
analogous
#472CBD #902CBD #BD2CA1
triadic
#902CBD #BD902C #2CBD90
tetradic
#902CBD #BD472C #59BD2C #2CA1BD
square
#902CBD #BD472C #59BD2C #2CA1BD
split-complementary
#902CBD #A1BD2C #2CBD47
monochromatic
#44155A #6A208B #902CBD #AD50D6 #C482E2

Accessibility & contrast

On white

6.40
#902CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#902CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CBD
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CBD#FFFFFF#000000##FFFFFF
##902CBD1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#1661BA
Tritanopia (blue-blind)
#8B4E74
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #902cbd;
/* rgb */ color: rgb(144, 44, 189);
/* oklch */ color: oklch(51.3% 0.217 312.6);
Tailwind
colors: {
  custom: {
    50: '#b570d2',
    500: '#902cbd',
    950: '#000000',
  },
}
SCSS
$custom: #902cbd;
$custom-light: #b570d2;
$custom-dark: #000000;
JSON
{
  "hex": "#902cbd",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 281.379,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51304,
    "c": 0.21705,
    "h": 312.6
  },
  "luminance": 0.11405
}

Semantic roles & 50–950 ramp

primary
#902CBD
secondary
#93CB7A
accent
#E54275
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #902CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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