#903FD4#903FD4

#903FD4 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.9% C 0.218 H 305.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#903FD4
RGBrgb(144, 63, 212)
HSLhsl(273, 63%, 54%)
HSVhsv(273, 70%, 83%)
CMYKcmyk(32.1%, 70.3%, 0%, 16.9%)
CIE-LABlab(44.57, 59.95, -62.83)
CIE-LCHlch(44.57, 86.85, 313.66°)
OKLaboklab(54.88% 0.1252 -0.1786)
OKLCHoklch(54.88% 0.218 305)
XYZxyz(25.1601, 14.2379, 63.6973)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903FD4 #83D43F
analogous
#463FD4 #903FD4 #D43FCE
triadic
#903FD4 #D4903F #3FD490
tetradic
#903FD4 #D4463F #83D43F #3FCED4
square
#903FD4 #D4463F #83D43F #3FCED4
split-complementary
#903FD4 #CED43F #3FD446
monochromatic
#511C7D #7127AF #903FD4 #AD71DF #CAA3EA

Accessibility & contrast

On white

5.46
#903FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #903FD4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903FD4#FFFFFF#000000##FFFFFF
##903FD41.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#836285
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #903fd4;
/* rgb */ color: rgb(144, 63, 212);
/* oklch */ color: oklch(54.9% 0.218 305.0);
Tailwind
colors: {
  custom: {
    50: '#b67be2',
    500: '#903fd4',
    950: '#000000',
  },
}
SCSS
$custom: #903fd4;
$custom-light: #b67be2;
$custom-dark: #000000;
JSON
{
  "hex": "#903fd4",
  "rgb": {
    "r": 144,
    "g": 63,
    "b": 212
  },
  "hsl": {
    "h": 272.617,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54879,
    "c": 0.21812,
    "h": 305
  },
  "luminance": 0.14238
}

Semantic roles & 50–950 ramp

primary
#903FD4
secondary
#B5D798
accent
#E6418D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #903FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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