#902FC9#902FC9

#902FC9 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.5% C 0.225 H 309.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#902FC9
RGBrgb(144, 47, 201)
HSLhsl(278, 62%, 49%)
HSVhsv(278, 77%, 79%)
CMYKcmyk(28.4%, 76.6%, 0%, 21.2%)
CIE-LABlab(41.50, 64.00, -61.47)
CIE-LCHlch(41.50, 88.73, 316.15°)
OKLaboklab(52.46% 0.142 -0.1745)
OKLCHoklch(52.46% 0.225 309.1)
XYZxyz(23.0586, 12.1798, 56.3832)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FC9 #68C92F
analogous
#432FC9 #902FC9 #C92FB5
triadic
#902FC9 #C9902F #2FC990
tetradic
#902FC9 #C9432F #68C92F #2FB5C9
square
#902FC9 #C9432F #68C92F #2FB5C9
split-complementary
#902FC9 #B5C92F #2FC943
monochromatic
#491866 #6C2397 #902FC9 #AB5CD9 #C48EE5

Accessibility & contrast

On white

6.11
#902FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#902FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FC9
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FC9#FFFFFF#000000##FFFFFF
##902FC91.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#87557B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #902fc9;
/* rgb */ color: rgb(144, 47, 201);
/* oklch */ color: oklch(52.5% 0.225 309.1);
Tailwind
colors: {
  custom: {
    50: '#b672da',
    500: '#902fc9',
    950: '#000000',
  },
}
SCSS
$custom: #902fc9;
$custom-light: #b672da;
$custom-dark: #000000;
JSON
{
  "hex": "#902fc9",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 277.792,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52455,
    "c": 0.22495,
    "h": 309.1
  },
  "luminance": 0.12179
}

Semantic roles & 50–950 ramp

primary
#902FC9
secondary
#A0CF85
accent
#E5437F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #902FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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