#903CD2#903CD2

#903CD2 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.4% C 0.220 H 305.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#903CD2
RGBrgb(144, 60, 210)
HSLhsl(274, 63%, 53%)
HSVhsv(274, 71%, 82%)
CMYKcmyk(31.4%, 71.4%, 0%, 17.6%)
CIE-LABlab(43.97, 60.81, -62.67)
CIE-LCHlch(43.97, 87.32, 314.14°)
OKLaboklab(54.4% 0.1285 -0.1781)
OKLCHoklch(54.4% 0.22 305.8)
XYZxyz(24.7478, 13.8144, 62.3230)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903CD2 #7ED23C
analogous
#453CD2 #903CD2 #D23CC9
triadic
#903CD2 #D2903C #3CD290
tetradic
#903CD2 #D2453C #7ED23C #3CC9D2
square
#903CD2 #D2453C #7ED23C #3CC9D2
split-complementary
#903CD2 #C9D23C #3CD245
monochromatic
#4F1C78 #7027AA #903CD2 #AC6EDD #C99FE9

Accessibility & contrast

On white

5.58
#903CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#903CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903CD2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903CD2#FFFFFF#000000##FFFFFF
##903CD21.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#845F83
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #903cd2;
/* rgb */ color: rgb(144, 60, 210);
/* oklch */ color: oklch(54.4% 0.220 305.8);
Tailwind
colors: {
  custom: {
    50: '#b679e1',
    500: '#903cd2',
    950: '#000000',
  },
}
SCSS
$custom: #903cd2;
$custom-light: #b679e1;
$custom-dark: #000000;
JSON
{
  "hex": "#903cd2",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 273.6,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54402,
    "c": 0.2196,
    "h": 305.8
  },
  "luminance": 0.13814
}

Semantic roles & 50–950 ramp

primary
#903CD2
secondary
#B1D594
accent
#E6428A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #903CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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