#902FBB#902FBB

#902FBB is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.212 H 313.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#902FBB
RGBrgb(144, 47, 187)
HSLhsl(282, 60%, 46%)
HSVhsv(282, 75%, 73%)
CMYKcmyk(23%, 74.9%, 0%, 26.7%)
CIE-LABlab(40.49, 61.08, -54.92)
CIE-LCHlch(40.49, 82.14, 318.04°)
OKLaboklab(51.43% 0.1446 -0.1552)
OKLCHoklch(51.43% 0.212 313)
XYZxyz(21.4862, 11.5508, 48.1018)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FBB #5ABB2F
analogous
#4A2FBB #902FBB #BB2FA0
triadic
#902FBB #BB902F #2FBB90
tetradic
#902FBB #BB4A2F #5ABB2F #2FA0BB
square
#902FBB #BB4A2F #5ABB2F #2FA0BB
split-complementary
#902FBB #A0BB2F #2FBB4A
monochromatic
#451659 #6A238A #902FBB #AC53D4 #C484E0

Accessibility & contrast

On white

6.34
#902FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#902FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FBB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FBB#FFFFFF#000000##FFFFFF
##902FBB1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#1F61B8
Tritanopia (blue-blind)
#8B4F73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #902fbb;
/* rgb */ color: rgb(144, 47, 187);
/* oklch */ color: oklch(51.4% 0.212 313.0);
Tailwind
colors: {
  custom: {
    50: '#b572d0',
    500: '#902fbb',
    950: '#000000',
  },
}
SCSS
$custom: #902fbb;
$custom-light: #b572d0;
$custom-dark: #000000;
JSON
{
  "hex": "#902fbb",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 281.571,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51428,
    "c": 0.21212,
    "h": 313
  },
  "luminance": 0.1155
}

Semantic roles & 50–950 ramp

primary
#902FBB
secondary
#94C97C
accent
#E34575
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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