#903ECF#903ECF

#903ECF is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.4% C 0.214 H 306.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#903ECF
RGBrgb(144, 62, 207)
HSLhsl(274, 60%, 53%)
HSVhsv(274, 70%, 81%)
CMYKcmyk(30.4%, 70%, 0%, 18.8%)
CIE-LABlab(44.06, 59.26, -60.79)
CIE-LCHlch(44.06, 84.89, 314.27°)
OKLaboklab(54.4% 0.127 -0.1726)
OKLCHoklch(54.4% 0.214 306.3)
XYZxyz(24.4843, 13.8798, 60.4086)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903ECF #7DCF3E
analogous
#473ECF #903ECF #CF3EC5
triadic
#903ECF #CF903E #3ECF90
tetradic
#903ECF #CF473E #7DCF3E #3EC5CF
square
#903ECF #CF473E #7DCF3E #3EC5CF
split-complementary
#903ECF #C5CF3E #3ECF47
monochromatic
#4F1D75 #7029A6 #903ECF #AC6FDB #C8A0E7

Accessibility & contrast

On white

5.56
#903ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#903ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903ECF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903ECF#FFFFFF#000000##FFFFFF
##903ECF1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0569CC
Tritanopia (blue-blind)
#855F82
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #903ecf;
/* rgb */ color: rgb(144, 62, 207);
/* oklch */ color: oklch(54.4% 0.214 306.3);
Tailwind
colors: {
  custom: {
    50: '#b57adf',
    500: '#903ecf',
    950: '#000000',
  },
}
SCSS
$custom: #903ecf;
$custom-light: #b57adf;
$custom-dark: #000000;
JSON
{
  "hex": "#903ecf",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 207
  },
  "hsl": {
    "h": 273.931,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54402,
    "c": 0.21425,
    "h": 306.3
  },
  "luminance": 0.1388
}

Semantic roles & 50–950 ramp

primary
#903ECF
secondary
#B0D495
accent
#E34489
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #903ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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