#903DBF#903DBF

#903DBF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 53.2% C 0.199 H 310.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#903DBF
RGBrgb(144, 61, 191)
HSLhsl(278, 52%, 49%)
HSVhsv(278, 68%, 75%)
CMYKcmyk(24.6%, 68.1%, 0%, 25.1%)
CIE-LABlab(42.81, 56.16, -53.53)
CIE-LCHlch(42.81, 77.58, 316.37°)
OKLaboklab(53.16% 0.1299 -0.1512)
OKLCHoklch(53.16% 0.199 310.7)
XYZxyz(22.5725, 13.0289, 50.6058)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903DBF #6CBF3D
analogous
#4F3DBF #903DBF #BF3DAD
triadic
#903DBF #BF903D #3DBF90
tetradic
#903DBF #BF4F3D #6CBF3D #3DADBF
square
#903DBF #BF4F3D #6CBF3D #3DADBF
split-complementary
#903DBF #ADBF3D #3DBF4F
monochromatic
#4A1F62 #6D2E91 #903DBF #AB6ACF #C598DE

Accessibility & contrast

On white

5.82
#903DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#903DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903DBF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903DBF#FFFFFF#000000##FFFFFF
##903DBF1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #903dbf;
/* rgb */ color: rgb(144, 61, 191);
/* oklch */ color: oklch(53.2% 0.199 310.7);
Tailwind
colors: {
  custom: {
    50: '#b579d3',
    500: '#903dbf',
    950: '#000000',
  },
}
SCSS
$custom: #903dbf;
$custom-light: #b579d3;
$custom-dark: #000000;
JSON
{
  "hex": "#903dbf",
  "rgb": {
    "r": 144,
    "g": 61,
    "b": 191
  },
  "hsl": {
    "h": 278.308,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5316,
    "c": 0.19939,
    "h": 310.7
  },
  "luminance": 0.13028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #903DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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