#903BD6#903BD6

#903BD6 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.6% C 0.225 H 305.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#903BD6
RGBrgb(144, 59, 214)
HSLhsl(273, 65%, 54%)
HSVhsv(273, 72%, 84%)
CMYKcmyk(32.7%, 72.4%, 0%, 16.1%)
CIE-LABlab(44.11, 62.13, -64.74)
CIE-LCHlch(44.11, 89.73, 313.82°)
OKLaboklab(54.59% 0.1287 -0.1842)
OKLCHoklch(54.59% 0.225 305)
XYZxyz(25.2004, 13.9124, 64.9630)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BD6 #81D63B
analogous
#423BD6 #903BD6 #D63BCF
triadic
#903BD6 #D6903B #3BD690
tetradic
#903BD6 #D6423B #81D63B #3BCFD6
square
#903BD6 #D6423B #81D63B #3BCFD6
split-complementary
#903BD6 #CFD63B #3BD642
monochromatic
#501A7D #7125AF #903BD6 #AD6EE1 #C9A0EB

Accessibility & contrast

On white

5.55
#903BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#903BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BD6
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BD6#FFFFFF#000000##FFFFFF
##903BD61.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #903bd6;
/* rgb */ color: rgb(144, 59, 214);
/* oklch */ color: oklch(54.6% 0.225 305.0);
Tailwind
colors: {
  custom: {
    50: '#b679e4',
    500: '#903bd6',
    950: '#000000',
  },
}
SCSS
$custom: #903bd6;
$custom-light: #b679e4;
$custom-dark: #000000;
JSON
{
  "hex": "#903bd6",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 214
  },
  "hsl": {
    "h": 272.903,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54594,
    "c": 0.2247,
    "h": 305
  },
  "luminance": 0.13912
}

Semantic roles & 50–950 ramp

primary
#903BD6
secondary
#B3D895
accent
#E83F8C
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #903BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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