#903FDE#903FDE

#903FDE is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.6% C 0.228 H 302.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#903FDE
RGBrgb(144, 63, 222)
HSLhsl(271, 71%, 56%)
HSVhsv(271, 72%, 87%)
CMYKcmyk(35.1%, 71.6%, 0%, 12.9%)
CIE-LABlab(45.30, 62.25, -67.37)
CIE-LCHlch(45.30, 91.73, 312.74°)
OKLaboklab(55.63% 0.1235 -0.1919)
OKLCHoklch(55.63% 0.228 302.8)
XYZxyz(26.4608, 14.7582, 70.5477)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903FDE #8DDE3F
analogous
#403FDE #903FDE #DE3FDD
triadic
#903FDE #DE903F #3FDE90
tetradic
#903FDE #DE403F #8DDE3F #3FDDDE
square
#903FDE #DE403F #8DDE3F #3FDDDE
split-complementary
#903FDE #DDDE3F #3FDE40
monochromatic
#52188B #7121BF #903FDE #AE73E7 #CCA7F0

Accessibility & contrast

On white

5.31
#903FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#903FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903FDE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903FDE#FFFFFF#000000##FFFFFF
##903FDE1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE3
Deuteranopia (green-blind)
#006BDB
Tritanopia (blue-blind)
#80668B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #903fde;
/* rgb */ color: rgb(144, 63, 222);
/* oklch */ color: oklch(55.6% 0.228 302.8);
Tailwind
colors: {
  custom: {
    50: '#b77be9',
    500: '#903fde',
    950: '#000000',
  },
}
SCSS
$custom: #903fde;
$custom-light: #b77be9;
$custom-dark: #000000;
JSON
{
  "hex": "#903fde",
  "rgb": {
    "r": 144,
    "g": 63,
    "b": 222
  },
  "hsl": {
    "h": 270.566,
    "s": 70.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55625,
    "c": 0.22825,
    "h": 302.8
  },
  "luminance": 0.14758
}

Semantic roles & 50–950 ramp

primary
#903FDE
secondary
#BCDD9B
accent
#ED3A92
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #903FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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