#902FBC#902FBC

#902FBC is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.213 H 312.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#902FBC
RGBrgb(144, 47, 188)
HSLhsl(281, 60%, 46%)
HSVhsv(281, 75%, 74%)
CMYKcmyk(23.4%, 75%, 0%, 26.3%)
CIE-LABlab(40.56, 61.29, -55.39)
CIE-LCHlch(40.56, 82.61, 317.89°)
OKLaboklab(51.5% 0.1444 -0.1566)
OKLCHoklch(51.5% 0.213 312.7)
XYZxyz(21.5936, 11.5938, 48.6675)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FBC #5BBC2F
analogous
#4A2FBC #902FBC #BC2FA1
triadic
#902FBC #BC902F #2FBC90
tetradic
#902FBC #BC4A2F #5BBC2F #2FA1BC
square
#902FBC #BC4A2F #5BBC2F #2FA1BC
split-complementary
#902FBC #A1BC2F #2FBC4A
monochromatic
#45175A #6A238B #902FBC #AC54D4 #C485E0

Accessibility & contrast

On white

6.33
#902FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#902FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FBC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FBC#FFFFFF#000000##FFFFFF
##902FBC1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#1D62B9
Tritanopia (blue-blind)
#8B4F74
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #902fbc;
/* rgb */ color: rgb(144, 47, 188);
/* oklch */ color: oklch(51.5% 0.213 312.7);
Tailwind
colors: {
  custom: {
    50: '#b572d1',
    500: '#902fbc',
    950: '#000000',
  },
}
SCSS
$custom: #902fbc;
$custom-light: #b572d1;
$custom-dark: #000000;
JSON
{
  "hex": "#902fbc",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 281.277,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51499,
    "c": 0.21303,
    "h": 312.7
  },
  "luminance": 0.11593
}

Semantic roles & 50–950 ramp

primary
#902FBC
secondary
#95CA7D
accent
#E34576
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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