#903DCA#903DCA

#903DCA is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.9% C 0.210 H 307.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#903DCA
RGBrgb(144, 61, 202)
HSLhsl(275, 57%, 52%)
HSVhsv(275, 70%, 79%)
CMYKcmyk(28.7%, 69.8%, 0%, 20.8%)
CIE-LABlab(43.55, 58.58, -58.72)
CIE-LCHlch(43.55, 82.94, 314.93°)
OKLaboklab(53.93% 0.1287 -0.1665)
OKLCHoklch(53.93% 0.21 307.7)
XYZxyz(23.8288, 13.5314, 57.2222)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903DCA #77CA3D
analogous
#4A3DCA #903DCA #CA3DBE
triadic
#903DCA #CA903D #3DCA90
tetradic
#903DCA #CA4A3D #77CA3D #3DBECA
square
#903DCA #CA4A3D #77CA3D #3DBECA
split-complementary
#903DCA #BECA3D #3DCA4A
monochromatic
#4D1E6E #6F2B9F #903DCA #AC6DD7 #C79DE4

Accessibility & contrast

On white

5.67
#903DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#903DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903DCA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903DCA#FFFFFF#000000##FFFFFF
##903DCA1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#1668C7
Tritanopia (blue-blind)
#875D7F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #903dca;
/* rgb */ color: rgb(144, 61, 202);
/* oklch */ color: oklch(53.9% 0.210 307.7);
Tailwind
colors: {
  custom: {
    50: '#b579db',
    500: '#903dca',
    950: '#000000',
  },
}
SCSS
$custom: #903dca;
$custom-light: #b579db;
$custom-dark: #000000;
JSON
{
  "hex": "#903dca",
  "rgb": {
    "r": 144,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 275.319,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5393,
    "c": 0.21042,
    "h": 307.7
  },
  "luminance": 0.13531
}

Semantic roles & 50–950 ramp

primary
#903DCA
secondary
#ACD092
accent
#E04786
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #903DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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