#903FCB#903FCB

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

Color values

HEX#903FCB
RGBrgb(144, 63, 203)
HSLhsl(275, 57%, 52%)
HSVhsv(275, 69%, 80%)
CMYKcmyk(29.1%, 69%, 0%, 20.4%)
CIE-LABlab(43.94, 57.92, -58.67)
CIE-LCHlch(43.94, 82.44, 314.63°)
OKLaboklab(54.23% 0.1265 -0.1664)
OKLCHoklch(54.23% 0.209 307.2)
XYZxyz(24.0563, 13.7964, 57.8840)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903FCB #7ACB3F
analogous
#4A3FCB #903FCB #CB3FC0
triadic
#903FCB #CB903F #3FCB90
tetradic
#903FCB #CB4A3F #7ACB3F #3FC0CB
square
#903FCB #CB4A3F #7ACB3F #3FC0CB
split-complementary
#903FCB #C0CB3F #3FCB4A
monochromatic
#4E1F71 #702CA1 #903FCB #AC6FD8 #C89FE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##903FCB#FFFFFF#000000##FFFFFF
##903FCB1.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)
#0065CF
Deuteranopia (green-blind)
#1869C8
Tritanopia (blue-blind)
#865E80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #903fcb;
/* rgb */ color: rgb(144, 63, 203);
/* oklch */ color: oklch(54.2% 0.209 307.2);
Tailwind
colors: {
  custom: {
    50: '#b57adc',
    500: '#903fcb',
    950: '#000000',
  },
}
SCSS
$custom: #903fcb;
$custom-light: #b57adc;
$custom-dark: #000000;
JSON
{
  "hex": "#903fcb",
  "rgb": {
    "r": 144,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 274.714,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54228,
    "c": 0.20898,
    "h": 307.2
  },
  "luminance": 0.13796
}

Semantic roles & 50–950 ramp

primary
#903FCB
secondary
#AED194
accent
#E14788
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #903FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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