#903ECA#903ECA

#903ECA is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.0% C 0.209 H 307.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#903ECA
RGBrgb(144, 62, 202)
HSLhsl(275, 57%, 52%)
HSVhsv(275, 69%, 79%)
CMYKcmyk(28.7%, 69.3%, 0%, 20.8%)
CIE-LABlab(43.71, 58.14, -58.47)
CIE-LCHlch(43.71, 82.45, 314.84°)
OKLaboklab(54.04% 0.1277 -0.1657)
OKLCHoklch(54.04% 0.209 307.6)
XYZxyz(23.8827, 13.6391, 57.2401)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903ECA #78CA3E
analogous
#4A3ECA #903ECA #CA3EBE
triadic
#903ECA #CA903E #3ECA90
tetradic
#903ECA #CA4A3E #78CA3E #3EBECA
square
#903ECA #CA4A3E #78CA3E #3EBECA
split-complementary
#903ECA #BECA3E #3ECA4A
monochromatic
#4E1F6F #6F2C9F #903ECA #AC6ED7 #C79EE4

Accessibility & contrast

On white

5.63
#903ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#903ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903ECA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903ECA#FFFFFF#000000##FFFFFF
##903ECA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #903eca;
/* rgb */ color: rgb(144, 62, 202);
/* oklch */ color: oklch(54.0% 0.209 307.6);
Tailwind
colors: {
  custom: {
    50: '#b57adb',
    500: '#903eca',
    950: '#000000',
  },
}
SCSS
$custom: #903eca;
$custom-light: #b57adb;
$custom-dark: #000000;
JSON
{
  "hex": "#903eca",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 275.143,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54043,
    "c": 0.2092,
    "h": 307.6
  },
  "luminance": 0.13639
}

Semantic roles & 50–950 ramp

primary
#903ECA
secondary
#ADD193
accent
#E04887
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #903ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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