#903EE3#903EE3

#903EE3 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.9% C 0.234 H 301.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#903EE3
RGBrgb(144, 62, 227)
HSLhsl(270, 75%, 57%)
HSVhsv(270, 73%, 89%)
CMYKcmyk(36.6%, 72.7%, 0%, 11%)
CIE-LABlab(45.53, 63.84, -69.85)
CIE-LCHlch(45.53, 94.63, 312.42°)
OKLaboklab(55.9% 0.1235 -0.1992)
OKLCHoklch(55.9% 0.234 301.8)
XYZxyz(27.0860, 14.9205, 74.1111)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903EE3 #91E33E
analogous
#3E3FE3 #903EE3 #E33EE3
triadic
#903EE3 #E3903E #3EE390
tetradic
#903EE3 #E33E3F #91E33E #3EE3E3
square
#903EE3 #E33E3F #91E33E #3EE3E3
split-complementary
#903EE3 #E3E33E #3FE33E
monochromatic
#531591 #711DC7 #903EE3 #AF73EB #CDA9F3

Accessibility & contrast

On white

5.27
#903EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#903EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903EE3
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903EE3#FFFFFF#000000##FFFFFF
##903EE31.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE8
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#7E678D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #903ee3;
/* rgb */ color: rgb(144, 62, 227);
/* oklch */ color: oklch(55.9% 0.234 301.8);
Tailwind
colors: {
  custom: {
    50: '#b77bed',
    500: '#903ee3',
    950: '#000000',
  },
}
SCSS
$custom: #903ee3;
$custom-light: #b77bed;
$custom-dark: #000000;
JSON
{
  "hex": "#903ee3",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 227
  },
  "hsl": {
    "h": 269.818,
    "s": 74.661,
    "l": 56.667
  },
  "oklch": {
    "l": 0.559,
    "c": 0.23438,
    "h": 301.8
  },
  "luminance": 0.14921
}

Semantic roles & 50–950 ramp

primary
#903EE3
secondary
#BFE09D
accent
#F13794
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #903EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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