#902FBD#902FBD

#902FBD is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.214 H 312.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#902FBD
RGBrgb(144, 47, 189)
HSLhsl(281, 60%, 46%)
HSVhsv(281, 75%, 74%)
CMYKcmyk(23.8%, 75.1%, 0%, 25.9%)
CIE-LABlab(40.63, 61.49, -55.87)
CIE-LCHlch(40.63, 83.08, 317.74°)
OKLaboklab(51.57% 0.1442 -0.158)
OKLCHoklch(51.57% 0.214 312.4)
XYZxyz(21.7017, 11.6371, 49.2372)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FBD #5CBD2F
analogous
#492FBD #902FBD #BD2FA3
triadic
#902FBD #BD902F #2FBD90
tetradic
#902FBD #BD492F #5CBD2F #2FA3BD
square
#902FBD #BD492F #5CBD2F #2FA3BD
split-complementary
#902FBD #A3BD2F #2FBD49
monochromatic
#45175B #6B238C #902FBD #AC55D5 #C486E1

Accessibility & contrast

On white

6.31
#902FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#902FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FBD
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FBD#FFFFFF#000000##FFFFFF
##902FBD1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#1B62BA
Tritanopia (blue-blind)
#8B5074
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #902fbd;
/* rgb */ color: rgb(144, 47, 189);
/* oklch */ color: oklch(51.6% 0.214 312.4);
Tailwind
colors: {
  custom: {
    50: '#b572d2',
    500: '#902fbd',
    950: '#000000',
  },
}
SCSS
$custom: #902fbd;
$custom-light: #b572d2;
$custom-dark: #000000;
JSON
{
  "hex": "#902fbd",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 280.986,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51571,
    "c": 0.21395,
    "h": 312.4
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#902FBD
secondary
#96CA7E
accent
#E34477
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #902FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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