#902BCC#902BCC

#902BCC is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.3% C 0.231 H 308.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#902BCC
RGBrgb(144, 43, 204)
HSLhsl(278, 65%, 48%)
HSVhsv(278, 79%, 80%)
CMYKcmyk(29.4%, 78.9%, 0%, 20%)
CIE-LABlab(41.24, 66.02, -63.63)
CIE-LCHlch(41.24, 91.69, 316.06°)
OKLaboklab(52.35% 0.1446 -0.1808)
OKLCHoklch(52.35% 0.231 308.6)
XYZxyz(23.2623, 12.0171, 58.2091)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902BCC #67CC2B
analogous
#402BCC #902BCC #CC2BB7
triadic
#902BCC #CC902B #2BCC90
tetradic
#902BCC #CC402B #67CC2B #2BB7CC
square
#902BCC #CC402B #67CC2B #2BB7CC
split-complementary
#902BCC #B7CC2B #2BCC40
monochromatic
#491667 #6C2099 #902BCC #AB58DC #C48BE7

Accessibility & contrast

On white

6.17
#902BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#902BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902BCC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902BCC#FFFFFF#000000##FFFFFF
##902BCC1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#87547C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #902bcc;
/* rgb */ color: rgb(144, 43, 204);
/* oklch */ color: oklch(52.3% 0.231 308.6);
Tailwind
colors: {
  custom: {
    50: '#b671dd',
    500: '#902bcc',
    950: '#000000',
  },
}
SCSS
$custom: #902bcc;
$custom-light: #b671dd;
$custom-dark: #000000;
JSON
{
  "hex": "#902bcc",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 204
  },
  "hsl": {
    "h": 277.64,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52345,
    "c": 0.23149,
    "h": 308.6
  },
  "luminance": 0.12017
}

Semantic roles & 50–950 ramp

primary
#902BCC
secondary
#9FD082
accent
#E8407E
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #902BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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