#903DC8#903DC8

#903DC8 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.8% C 0.208 H 308.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#903DC8
RGBrgb(144, 61, 200)
HSLhsl(276, 56%, 51%)
HSVhsv(276, 70%, 78%)
CMYKcmyk(28%, 69.5%, 0%, 21.6%)
CIE-LABlab(43.41, 58.14, -57.78)
CIE-LCHlch(43.41, 81.97, 315.17°)
OKLaboklab(53.79% 0.1289 -0.1637)
OKLCHoklch(53.79% 0.208 308.2)
XYZxyz(23.5935, 13.4373, 55.9831)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903DC8 #75C83D
analogous
#4A3DC8 #903DC8 #C83DBA
triadic
#903DC8 #C8903D #3DC890
tetradic
#903DC8 #C84A3D #75C83D #3DBAC8
square
#903DC8 #C84A3D #75C83D #3DBAC8
split-complementary
#903DC8 #BAC83D #3DC84A
monochromatic
#4D1F6C #6F2C9C #903DC8 #AB6DD6 #C79CE3

Accessibility & contrast

On white

5.70
#903DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#903DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903DC8
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903DC8#FFFFFF#000000##FFFFFF
##903DC81.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#1B67C5
Tritanopia (blue-blind)
#875C7E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #903dc8;
/* rgb */ color: rgb(144, 61, 200);
/* oklch */ color: oklch(53.8% 0.208 308.2);
Tailwind
colors: {
  custom: {
    50: '#b579d9',
    500: '#903dc8',
    950: '#000000',
  },
}
SCSS
$custom: #903dc8;
$custom-light: #b579d9;
$custom-dark: #000000;
JSON
{
  "hex": "#903dc8",
  "rgb": {
    "r": 144,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 275.827,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53788,
    "c": 0.20841,
    "h": 308.2
  },
  "luminance": 0.13437
}

Semantic roles & 50–950 ramp

primary
#903DC8
secondary
#AACF92
accent
#DF4985
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #903DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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