#903EDD#903EDD

#903EDD is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.4% C 0.228 H 303.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#903EDD
RGBrgb(144, 62, 221)
HSLhsl(271, 70%, 55%)
HSVhsv(271, 72%, 87%)
CMYKcmyk(34.8%, 71.9%, 0%, 13.3%)
CIE-LABlab(45.07, 62.45, -67.17)
CIE-LCHlch(45.07, 91.72, 312.92°)
OKLaboklab(55.44% 0.1247 -0.1913)
OKLCHoklch(55.44% 0.228 303.1)
XYZxyz(26.2723, 14.5950, 69.8256)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903EDD #8BDD3E
analogous
#403EDD #903EDD #DD3EDB
triadic
#903EDD #DD903E #3EDD90
tetradic
#903EDD #DD403E #8BDD3E #3EDBDD
square
#903EDD #DD403E #8BDD3E #3EDBDD
split-complementary
#903EDD #DBDD3E #3EDD40
monochromatic
#521889 #7121BD #903EDD #AE72E6 #CCA6EF

Accessibility & contrast

On white

5.36
#903EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#903EDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903EDD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903EDD#FFFFFF#000000##FFFFFF
##903EDD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E2
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#80658A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #903edd;
/* rgb */ color: rgb(144, 62, 221);
/* oklch */ color: oklch(55.4% 0.228 303.1);
Tailwind
colors: {
  custom: {
    50: '#b77ae9',
    500: '#903edd',
    950: '#000000',
  },
}
SCSS
$custom: #903edd;
$custom-light: #b77ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#903edd",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 221
  },
  "hsl": {
    "h": 270.943,
    "s": 70.044,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55441,
    "c": 0.22835,
    "h": 303.1
  },
  "luminance": 0.14595
}

Semantic roles & 50–950 ramp

primary
#903EDD
secondary
#BADD9A
accent
#ED3B91
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #903EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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