#903BB2#903BB2

#903BB2 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.1% C 0.189 H 314.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#903BB2
RGBrgb(144, 59, 178)
HSLhsl(283, 50%, 46%)
HSVhsv(283, 67%, 70%)
CMYKcmyk(19.1%, 66.9%, 0%, 30.2%)
CIE-LABlab(41.65, 54.28, -47.76)
CIE-LCHlch(41.65, 72.30, 318.65°)
OKLaboklab(52.06% 0.1332 -0.1343)
OKLCHoklch(52.06% 0.189 314.8)
XYZxyz(21.1001, 12.2723, 43.3681)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BB2 #5DB23B
analogous
#553BB2 #903BB2 #B23B99
triadic
#903BB2 #B2903B #3BB290
tetradic
#903BB2 #B2553B #5DB23B #3B99B2
square
#903BB2 #B2553B #5DB23B #3B99B2
split-complementary
#903BB2 #99B23B #3BB255
monochromatic
#461D56 #6B2C84 #903BB2 #AC60CA #C48EDA

Accessibility & contrast

On white

6.08
#903BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#903BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BB2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BB2#FFFFFF#000000##FFFFFF
##903BB21.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3764AF
Tritanopia (blue-blind)
#8D5272
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #903bb2;
/* rgb */ color: rgb(144, 59, 178);
/* oklch */ color: oklch(52.1% 0.189 314.8);
Tailwind
colors: {
  custom: {
    50: '#b477ca',
    500: '#903bb2',
    950: '#000000',
  },
}
SCSS
$custom: #903bb2;
$custom-light: #b477ca;
$custom-dark: #000000;
JSON
{
  "hex": "#903bb2",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 282.857,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52059,
    "c": 0.18912,
    "h": 314.8
  },
  "luminance": 0.12272
}

Semantic roles & 50–950 ramp

primary
#903BB2
secondary
#97C485
accent
#DA4E76
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #903BB2

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

Preview Lab → · Contrast checker → · Palette generator →

#903BB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva