#903BD5#903BD5

#903BD5 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.5% C 0.224 H 305.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#903BD5
RGBrgb(144, 59, 213)
HSLhsl(273, 65%, 53%)
HSVhsv(273, 72%, 84%)
CMYKcmyk(32.4%, 72.3%, 0%, 16.5%)
CIE-LABlab(44.03, 61.91, -64.28)
CIE-LCHlch(44.03, 89.24, 313.92°)
OKLaboklab(54.52% 0.1289 -0.1828)
OKLCHoklch(54.52% 0.224 305.2)
XYZxyz(25.0731, 13.8615, 64.2925)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BD5 #80D53B
analogous
#433BD5 #903BD5 #D53BCD
triadic
#903BD5 #D5903B #3BD590
tetradic
#903BD5 #D5433B #80D53B #3BCDD5
square
#903BD5 #D5433B #80D53B #3BCDD5
split-complementary
#903BD5 #CDD53B #3BD543
monochromatic
#501A7B #7025AE #903BD5 #AD6DE0 #C9A0EB

Accessibility & contrast

On white

5.57
#903BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#903BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BD5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BD5#FFFFFF#000000##FFFFFF
##903BD51.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#836085
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #903bd5;
/* rgb */ color: rgb(144, 59, 213);
/* oklch */ color: oklch(54.5% 0.224 305.2);
Tailwind
colors: {
  custom: {
    50: '#b679e3',
    500: '#903bd5',
    950: '#000000',
  },
}
SCSS
$custom: #903bd5;
$custom-light: #b679e3;
$custom-dark: #000000;
JSON
{
  "hex": "#903bd5",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 213
  },
  "hsl": {
    "h": 273.117,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54519,
    "c": 0.22371,
    "h": 305.2
  },
  "luminance": 0.13861
}

Semantic roles & 50–950 ramp

primary
#903BD5
secondary
#B2D795
accent
#E8408B
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #903BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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