#902FC4#902FC4

#902FC4 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.1% C 0.220 H 310.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#902FC4
RGBrgb(144, 47, 196)
HSLhsl(279, 61%, 48%)
HSVhsv(279, 76%, 77%)
CMYKcmyk(26.5%, 76%, 0%, 23.1%)
CIE-LABlab(41.13, 62.94, -59.15)
CIE-LCHlch(41.13, 86.38, 316.78°)
OKLaboklab(52.08% 0.143 -0.1677)
OKLCHoklch(52.08% 0.22 310.5)
XYZxyz(22.4800, 11.9484, 53.3359)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FC4 #63C42F
analogous
#452FC4 #902FC4 #C42FAE
triadic
#902FC4 #C4902F #2FC490
tetradic
#902FC4 #C4452F #63C42F #2FAEC4
square
#902FC4 #C4452F #63C42F #2FAEC4
split-complementary
#902FC4 #AEC42F #2FC445
monochromatic
#471761 #6C2393 #902FC4 #AB59D7 #C48AE3

Accessibility & contrast

On white

6.20
#902FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#902FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FC4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FC4#FFFFFF#000000##FFFFFF
##902FC41.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0462C1
Tritanopia (blue-blind)
#895378
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #902fc4;
/* rgb */ color: rgb(144, 47, 196);
/* oklch */ color: oklch(52.1% 0.220 310.5);
Tailwind
colors: {
  custom: {
    50: '#b672d7',
    500: '#902fc4',
    950: '#000000',
  },
}
SCSS
$custom: #902fc4;
$custom-light: #b672d7;
$custom-dark: #000000;
JSON
{
  "hex": "#902fc4",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 279.06,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52082,
    "c": 0.22036,
    "h": 310.5
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

primary
#902FC4
secondary
#9CCD82
accent
#E4437C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #902FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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