#903DBE#903DBE

#903DBE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 53.1% C 0.198 H 311.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#903DBE
RGBrgb(144, 61, 190)
HSLhsl(279, 51%, 49%)
HSVhsv(279, 68%, 75%)
CMYKcmyk(24.2%, 67.9%, 0%, 25.5%)
CIE-LABlab(42.74, 55.94, -53.05)
CIE-LCHlch(42.74, 77.10, 316.52°)
OKLaboklab(53.09% 0.13 -0.1498)
OKLCHoklch(53.09% 0.198 311)
XYZxyz(22.4628, 12.9850, 50.0283)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903DBE #6BBE3D
analogous
#503DBE #903DBE #BE3DAB
triadic
#903DBE #BE903D #3DBE90
tetradic
#903DBE #BE503D #6BBE3D #3DABBE
square
#903DBE #BE503D #6BBE3D #3DABBE
split-complementary
#903DBE #ABBE3D #3DBE50
monochromatic
#4A1F61 #6D2E90 #903DBE #AB69CF #C598DE

Accessibility & contrast

On white

5.84
#903DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#903DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903DBE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903DBE#FFFFFF#000000##FFFFFF
##903DBE1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#2C66BB
Tritanopia (blue-blind)
#8A5879
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #903dbe;
/* rgb */ color: rgb(144, 61, 190);
/* oklch */ color: oklch(53.1% 0.198 311.0);
Tailwind
colors: {
  custom: {
    50: '#b479d2',
    500: '#903dbe',
    950: '#000000',
  },
}
SCSS
$custom: #903dbe;
$custom-light: #b479d2;
$custom-dark: #000000;
JSON
{
  "hex": "#903dbe",
  "rgb": {
    "r": 144,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 278.605,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53092,
    "c": 0.19839,
    "h": 311
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#903DBE
secondary
#A3C98D
accent
#DB4D80
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #903DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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