#902EC3#902EC3

#902EC3 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.9% C 0.220 H 310.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#902EC3
RGBrgb(144, 46, 195)
HSLhsl(279, 62%, 47%)
HSVhsv(279, 76%, 76%)
CMYKcmyk(26.2%, 76.4%, 0%, 23.5%)
CIE-LABlab(40.94, 63.10, -58.89)
CIE-LCHlch(40.94, 86.31, 316.98°)
OKLaboklab(51.92% 0.1441 -0.1669)
OKLCHoklch(51.92% 0.22 310.8)
XYZxyz(22.3270, 11.8240, 52.7253)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EC3 #61C32E
analogous
#452EC3 #902EC3 #C32EAC
triadic
#902EC3 #C3902E #2EC390
tetradic
#902EC3 #C3452E #61C32E #2EACC3
square
#902EC3 #C3452E #61C32E #2EACC3
split-complementary
#902EC3 #ACC32E #2EC345
monochromatic
#471760 #6B2291 #902EC3 #AB57D7 #C488E3

Accessibility & contrast

On white

6.24
#902EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#902EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902EC3
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EC3#FFFFFF#000000##FFFFFF
##902EC31.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#0562C0
Tritanopia (blue-blind)
#895277
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #902ec3;
/* rgb */ color: rgb(144, 46, 195);
/* oklch */ color: oklch(51.9% 0.220 310.8);
Tailwind
colors: {
  custom: {
    50: '#b571d6',
    500: '#902ec3',
    950: '#000000',
  },
}
SCSS
$custom: #902ec3;
$custom-light: #b571d6;
$custom-dark: #000000;
JSON
{
  "hex": "#902ec3",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 279.463,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51919,
    "c": 0.22046,
    "h": 310.8
  },
  "luminance": 0.11823
}

Semantic roles & 50–950 ramp

primary
#902EC3
secondary
#9ACD80
accent
#E5437A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #902EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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