#903ECD#903ECD

#903ECD is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.3% C 0.212 H 306.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#903ECD
RGBrgb(144, 62, 205)
HSLhsl(274, 59%, 52%)
HSVhsv(274, 70%, 80%)
CMYKcmyk(29.8%, 69.8%, 0%, 19.6%)
CIE-LABlab(43.92, 58.81, -59.86)
CIE-LCHlch(43.92, 83.92, 314.49°)
OKLaboklab(54.26% 0.1273 -0.1698)
OKLCHoklch(54.26% 0.212 306.8)
XYZxyz(24.2413, 13.7826, 59.1290)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903ECD #7BCD3E
analogous
#493ECD #903ECD #CD3EC2
triadic
#903ECD #CD903E #3ECD90
tetradic
#903ECD #CD493E #7BCD3E #3EC2CD
square
#903ECD #CD493E #7BCD3E #3EC2CD
split-complementary
#903ECD #C2CD3E #3ECD49
monochromatic
#4F1E73 #702AA3 #903ECD #AC6FDA #C89FE6

Accessibility & contrast

On white

5.59
#903ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #903ECD
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903ECD#FFFFFF#000000##FFFFFF
##903ECD1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0F68CA
Tritanopia (blue-blind)
#865E81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #903ecd;
/* rgb */ color: rgb(144, 62, 205);
/* oklch */ color: oklch(54.3% 0.212 306.8);
Tailwind
colors: {
  custom: {
    50: '#b57add',
    500: '#903ecd',
    950: '#000000',
  },
}
SCSS
$custom: #903ecd;
$custom-light: #b57add;
$custom-dark: #000000;
JSON
{
  "hex": "#903ecd",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 274.406,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54258,
    "c": 0.21223,
    "h": 306.8
  },
  "luminance": 0.13782
}

Semantic roles & 50–950 ramp

primary
#903ECD
secondary
#AFD394
accent
#E24688
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #903ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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