#902BC3#902BC3

#902BC3 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.7% C 0.223 H 311.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#902BC3
RGBrgb(144, 43, 195)
HSLhsl(280, 64%, 47%)
HSVhsv(280, 78%, 76%)
CMYKcmyk(26.2%, 77.9%, 0%, 23.5%)
CIE-LABlab(40.57, 64.15, -59.48)
CIE-LCHlch(40.57, 87.49, 317.16°)
OKLaboklab(51.66% 0.1466 -0.1686)
OKLCHoklch(51.66% 0.223 311)
XYZxyz(22.2139, 11.5977, 52.6876)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902BC3 #5EC32B
analogous
#442BC3 #902BC3 #C32BAA
triadic
#902BC3 #C3902B #2BC390
tetradic
#902BC3 #C3442B #5EC32B #2BAAC3
square
#902BC3 #C3442B #5EC32B #2BAAC3
split-complementary
#902BC3 #AAC32B #2BC344
monochromatic
#46155F #6B2091 #902BC3 #AC52D9 #C484E4

Accessibility & contrast

On white

6.33
#902BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#902BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902BC3
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902BC3#FFFFFF#000000##FFFFFF
##902BC31.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#895077
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #902bc3;
/* rgb */ color: rgb(144, 43, 195);
/* oklch */ color: oklch(51.7% 0.223 311.0);
Tailwind
colors: {
  custom: {
    50: '#b670d6',
    500: '#902bc3',
    950: '#000000',
  },
}
SCSS
$custom: #902bc3;
$custom-light: #b670d6;
$custom-dark: #000000;
JSON
{
  "hex": "#902bc3",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 195
  },
  "hsl": {
    "h": 279.868,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51662,
    "c": 0.22341,
    "h": 311
  },
  "luminance": 0.11597
}

Semantic roles & 50–950 ramp

primary
#902BC3
secondary
#98CD7D
accent
#E74179
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #902BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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