#903DCC#903DCC

#903DCC is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.1% C 0.212 H 307.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#903DCC
RGBrgb(144, 61, 204)
HSLhsl(275, 58%, 52%)
HSVhsv(275, 70%, 80%)
CMYKcmyk(29.4%, 70.1%, 0%, 20%)
CIE-LABlab(43.69, 59.03, -59.65)
CIE-LCHlch(43.69, 83.92, 314.70°)
OKLaboklab(54.07% 0.1284 -0.1692)
OKLCHoklch(54.07% 0.212 307.2)
XYZxyz(24.0671, 13.6267, 58.4774)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903DCC #79CC3D
analogous
#493DCC #903DCC #CC3DC1
triadic
#903DCC #CC903D #3DCC90
tetradic
#903DCC #CC493D #79CC3D #3DC1CC
square
#903DCC #CC493D #79CC3D #3DC1CC
split-complementary
#903DCC #C1CC3D #3DCC49
monochromatic
#4E1E71 #6F2AA1 #903DCC #AC6DD9 #C79EE5

Accessibility & contrast

On white

5.64
#903DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#903DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903DCC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903DCC#FFFFFF#000000##FFFFFF
##903DCC1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0F68C9
Tritanopia (blue-blind)
#865E80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #903dcc;
/* rgb */ color: rgb(144, 61, 204);
/* oklch */ color: oklch(54.1% 0.212 307.2);
Tailwind
colors: {
  custom: {
    50: '#b579dc',
    500: '#903dcc',
    950: '#000000',
  },
}
SCSS
$custom: #903dcc;
$custom-light: #b579dc;
$custom-dark: #000000;
JSON
{
  "hex": "#903dcc",
  "rgb": {
    "r": 144,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 274.825,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54074,
    "c": 0.21243,
    "h": 307.2
  },
  "luminance": 0.13626
}

Semantic roles & 50–950 ramp

primary
#903DCC
secondary
#ADD293
accent
#E24687
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #903DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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