#903BE6#903BE6

#903BE6 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.8% C 0.241 H 301.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#903BE6
RGBrgb(144, 59, 230)
HSLhsl(270, 77%, 57%)
HSVhsv(270, 74%, 90%)
CMYKcmyk(37.4%, 74.3%, 0%, 9.8%)
CIE-LABlab(45.32, 65.78, -71.89)
CIE-LCHlch(45.32, 97.44, 312.46°)
OKLaboklab(55.83% 0.1255 -0.2052)
OKLCHoklch(55.83% 0.241 301.4)
XYZxyz(27.3450, 14.7702, 76.2579)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BE6 #91E63B
analogous
#3B3BE6 #903BE6 #E63BE6
triadic
#903BE6 #E6903B #3BE690
tetradic
#903BE6 #E63B3B #91E63B #3BE6E6
square
#903BE6 #E63B3B #91E63B #3BE6E6
split-complementary
#903BE6 #E6E63B #3BE63B
monochromatic
#531394 #711ACA #903BE6 #AF71ED #CDA8F4

Accessibility & contrast

On white

5.31
#903BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#903BE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BE6
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BE6#FFFFFF#000000##FFFFFF
##903BE61.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#006AE3
Tritanopia (blue-blind)
#7D678E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #903be6;
/* rgb */ color: rgb(144, 59, 230);
/* oklch */ color: oklch(55.8% 0.241 301.4);
Tailwind
colors: {
  custom: {
    50: '#b779ef',
    500: '#903be6',
    950: '#000000',
  },
}
SCSS
$custom: #903be6;
$custom-light: #b779ef;
$custom-dark: #000000;
JSON
{
  "hex": "#903be6",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 230
  },
  "hsl": {
    "h": 269.825,
    "s": 77.376,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55826,
    "c": 0.24052,
    "h": 301.4
  },
  "luminance": 0.1477
}

Semantic roles & 50–950 ramp

primary
#903BE6
secondary
#BFE19B
accent
#F43494
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A17
muted
#817C85

Preview Lab

Preview with #903BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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