#903CDB#903CDB

#903CDB is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.1% C 0.229 H 303.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#903CDB
RGBrgb(144, 60, 219)
HSLhsl(272, 69%, 55%)
HSVhsv(272, 73%, 86%)
CMYKcmyk(34.2%, 72.6%, 0%, 14.1%)
CIE-LABlab(44.63, 62.84, -66.76)
CIE-LCHlch(44.63, 91.68, 313.27°)
OKLaboklab(55.08% 0.1269 -0.1901)
OKLCHoklch(55.08% 0.229 303.7)
XYZxyz(25.9007, 14.2755, 68.3950)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903CDB #87DB3C
analogous
#413CDB #903CDB #DB3CD7
triadic
#903CDB #DB903C #3CDB90
tetradic
#903CDB #DB413C #87DB3C #3CD7DB
square
#903CDB #DB413C #87DB3C #3CD7DB
split-complementary
#903CDB #D7DB3C #3CDB41
monochromatic
#511884 #7122B8 #903CDB #AD70E5 #CBA3EE

Accessibility & contrast

On white

5.45
#903CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#903CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903CDB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903CDB#FFFFFF#000000##FFFFFF
##903CDB1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E0
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#816388
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #903cdb;
/* rgb */ color: rgb(144, 60, 219);
/* oklch */ color: oklch(55.1% 0.229 303.7);
Tailwind
colors: {
  custom: {
    50: '#b679e7',
    500: '#903cdb',
    950: '#000000',
  },
}
SCSS
$custom: #903cdb;
$custom-light: #b679e7;
$custom-dark: #000000;
JSON
{
  "hex": "#903cdb",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 219
  },
  "hsl": {
    "h": 271.698,
    "s": 68.831,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55077,
    "c": 0.22856,
    "h": 303.7
  },
  "luminance": 0.14275
}

Semantic roles & 50–950 ramp

primary
#903CDB
secondary
#B8DB98
accent
#EC3C8F
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #903CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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