#903CDF#903CDF

#903CDF is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.4% C 0.233 H 302.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#903CDF
RGBrgb(144, 60, 223)
HSLhsl(271, 72%, 55%)
HSVhsv(271, 73%, 87%)
CMYKcmyk(35.4%, 73.1%, 0%, 12.5%)
CIE-LABlab(44.93, 63.76, -68.55)
CIE-LCHlch(44.93, 93.62, 312.93°)
OKLaboklab(55.38% 0.1261 -0.1954)
OKLCHoklch(55.38% 0.233 302.8)
XYZxyz(26.4336, 14.4887, 71.2017)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903CDF #8BDF3C
analogous
#3E3CDF #903CDF #DF3CDD
triadic
#903CDF #DF903C #3CDF90
tetradic
#903CDF #DF3E3C #8BDF3C #3CDDDF
square
#903CDF #DF3E3C #8BDF3C #3CDDDF
split-complementary
#903CDF #DDDF3C #3CDF3E
monochromatic
#52178A #711FBF #903CDF #AE71E8 #CCA5F0

Accessibility & contrast

On white

5.39
#903CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#903CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903CDF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903CDF#FFFFFF#000000##FFFFFF
##903CDF1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E4
Deuteranopia (green-blind)
#006ADC
Tritanopia (blue-blind)
#80658B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #903cdf;
/* rgb */ color: rgb(144, 60, 223);
/* oklch */ color: oklch(55.4% 0.233 302.8);
Tailwind
colors: {
  custom: {
    50: '#b779ea',
    500: '#903cdf',
    950: '#000000',
  },
}
SCSS
$custom: #903cdf;
$custom-light: #b779ea;
$custom-dark: #000000;
JSON
{
  "hex": "#903cdf",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 223
  },
  "hsl": {
    "h": 270.92,
    "s": 71.806,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55383,
    "c": 0.23253,
    "h": 302.8
  },
  "luminance": 0.14489
}

Semantic roles & 50–950 ramp

primary
#903CDF
secondary
#BADD99
accent
#EF3991
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #903CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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