#902FC5#902FC5

#902FC5 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.2% C 0.221 H 310.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#902FC5
RGBrgb(144, 47, 197)
HSLhsl(279, 61%, 48%)
HSVhsv(279, 76%, 77%)
CMYKcmyk(26.9%, 76.1%, 0%, 22.7%)
CIE-LABlab(41.21, 63.15, -59.62)
CIE-LCHlch(41.21, 86.85, 316.65°)
OKLaboklab(52.16% 0.1428 -0.169)
OKLCHoklch(52.16% 0.221 310.2)
XYZxyz(22.5942, 11.9940, 53.9373)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FC5 #64C52F
analogous
#452FC5 #902FC5 #C52FAF
triadic
#902FC5 #C5902F #2FC590
tetradic
#902FC5 #C5452F #64C52F #2FAFC5
square
#902FC5 #C5452F #64C52F #2FAFC5
split-complementary
#902FC5 #AFC52F #2FC545
monochromatic
#481762 #6C2394 #902FC5 #AB5AD8 #C48BE3

Accessibility & contrast

On white

6.18
#902FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #902FC5
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FC5#FFFFFF#000000##FFFFFF
##902FC51.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0063C2
Tritanopia (blue-blind)
#885379
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #902fc5;
/* rgb */ color: rgb(144, 47, 197);
/* oklch */ color: oklch(52.2% 0.221 310.2);
Tailwind
colors: {
  custom: {
    50: '#b672d7',
    500: '#902fc5',
    950: '#000000',
  },
}
SCSS
$custom: #902fc5;
$custom-light: #b672d7;
$custom-dark: #000000;
JSON
{
  "hex": "#902fc5",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 278.8,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52156,
    "c": 0.22128,
    "h": 310.2
  },
  "luminance": 0.11994
}

Semantic roles & 50–950 ramp

primary
#902FC5
secondary
#9DCD82
accent
#E5437C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #902FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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