#902FB7#902FB7

#902FB7 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.1% C 0.208 H 314.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#902FB7
RGBrgb(144, 47, 183)
HSLhsl(283, 59%, 45%)
HSVhsv(283, 74%, 72%)
CMYKcmyk(21.3%, 74.3%, 0%, 28.2%)
CIE-LABlab(40.22, 60.27, -53.01)
CIE-LCHlch(40.22, 80.26, 318.66°)
OKLaboklab(51.14% 0.1451 -0.1496)
OKLCHoklch(51.14% 0.208 314.1)
XYZxyz(21.0639, 11.3819, 45.8779)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FB7 #56B72F
analogous
#4C2FB7 #902FB7 #B72F9A
triadic
#902FB7 #B7902F #2FB790
tetradic
#902FB7 #B74C2F #56B72F #2F9AB7
square
#902FB7 #B74C2F #56B72F #2F9AB7
split-complementary
#902FB7 #9AB72F #2FB74C
monochromatic
#431656 #6A2286 #902FB7 #AD51D2 #C482DF

Accessibility & contrast

On white

6.41
#902FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#902FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FB7
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FB7#FFFFFF#000000##FFFFFF
##902FB71.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#2661B4
Tritanopia (blue-blind)
#8C4D71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #902fb7;
/* rgb */ color: rgb(144, 47, 183);
/* oklch */ color: oklch(51.1% 0.208 314.1);
Tailwind
colors: {
  custom: {
    50: '#b571cd',
    500: '#902fb7',
    950: '#000000',
  },
}
SCSS
$custom: #902fb7;
$custom-light: #b571cd;
$custom-dark: #000000;
JSON
{
  "hex": "#902fb7",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 282.794,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51144,
    "c": 0.20847,
    "h": 314.1
  },
  "luminance": 0.11381
}

Semantic roles & 50–950 ramp

primary
#902FB7
secondary
#90C87A
accent
#E24572
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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