#902FC2#902FC2

#902FC2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.9% C 0.219 H 311.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#902FC2
RGBrgb(144, 47, 194)
HSLhsl(280, 61%, 47%)
HSVhsv(280, 76%, 76%)
CMYKcmyk(25.8%, 75.8%, 0%, 23.9%)
CIE-LABlab(40.99, 62.53, -58.22)
CIE-LCHlch(40.99, 85.43, 317.04°)
OKLaboklab(51.93% 0.1434 -0.1649)
OKLCHoklch(51.93% 0.219 311)
XYZxyz(22.2539, 11.8579, 52.1450)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FC2 #61C22F
analogous
#472FC2 #902FC2 #C22FAB
triadic
#902FC2 #C2902F #2FC290
tetradic
#902FC2 #C2472F #61C22F #2FABC2
square
#902FC2 #C2472F #61C22F #2FABC2
split-complementary
#902FC2 #ABC22F #2FC247
monochromatic
#47175F #6B2391 #902FC2 #AB58D6 #C489E2

Accessibility & contrast

On white

6.23
#902FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#902FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FC2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FC2#FFFFFF#000000##FFFFFF
##902FC21.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0D62BF
Tritanopia (blue-blind)
#895277
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #902fc2;
/* rgb */ color: rgb(144, 47, 194);
/* oklch */ color: oklch(51.9% 0.219 311.0);
Tailwind
colors: {
  custom: {
    50: '#b572d5',
    500: '#902fc2',
    950: '#000000',
  },
}
SCSS
$custom: #902fc2;
$custom-light: #b572d5;
$custom-dark: #000000;
JSON
{
  "hex": "#902fc2",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 279.592,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51935,
    "c": 0.21853,
    "h": 311
  },
  "luminance": 0.11857
}

Semantic roles & 50–950 ramp

primary
#902FC2
secondary
#9ACC81
accent
#E4447A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #902FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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