#902FC8#902FC8

#902FC8 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.4% C 0.224 H 309.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#902FC8
RGBrgb(144, 47, 200)
HSLhsl(278, 62%, 48%)
HSVhsv(278, 77%, 78%)
CMYKcmyk(28%, 76.5%, 0%, 21.6%)
CIE-LABlab(41.43, 63.78, -61.01)
CIE-LCHlch(41.43, 88.26, 316.28°)
OKLaboklab(52.38% 0.1422 -0.1731)
OKLCHoklch(52.38% 0.224 309.4)
XYZxyz(22.9413, 12.1329, 55.7657)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FC8 #67C82F
analogous
#432FC8 #902FC8 #C82FB3
triadic
#902FC8 #C8902F #2FC890
tetradic
#902FC8 #C8432F #67C82F #2FB3C8
square
#902FC8 #C8432F #67C82F #2FB3C8
split-complementary
#902FC8 #B3C82F #2FC843
monochromatic
#491865 #6C2396 #902FC8 #AB5CD9 #C48DE4

Accessibility & contrast

On white

6.13
#902FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#902FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FC8
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FC8#FFFFFF#000000##FFFFFF
##902FC81.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#88557B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #902fc8;
/* rgb */ color: rgb(144, 47, 200);
/* oklch */ color: oklch(52.4% 0.224 309.4);
Tailwind
colors: {
  custom: {
    50: '#b672da',
    500: '#902fc8',
    950: '#000000',
  },
}
SCSS
$custom: #902fc8;
$custom-light: #b672da;
$custom-dark: #000000;
JSON
{
  "hex": "#902fc8",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 200
  },
  "hsl": {
    "h": 278.039,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5238,
    "c": 0.22404,
    "h": 309.4
  },
  "luminance": 0.12132
}

Semantic roles & 50–950 ramp

primary
#902FC8
secondary
#9FCF84
accent
#E5437E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #902FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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