#903FC0#903FC0

#903FC0 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.5% C 0.198 H 310.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#903FC0
RGBrgb(144, 63, 192)
HSLhsl(278, 51%, 50%)
HSVhsv(278, 67%, 75%)
CMYKcmyk(25%, 67.2%, 0%, 24.7%)
CIE-LABlab(43.20, 55.47, -53.48)
CIE-LCHlch(43.20, 77.06, 316.05°)
OKLaboklab(53.46% 0.1277 -0.1511)
OKLCHoklch(53.46% 0.198 310.2)
XYZxyz(22.7917, 13.2906, 51.2236)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903FC0 #6FC03F
analogous
#4F3FC0 #903FC0 #C03FB0
triadic
#903FC0 #C0903F #3FC090
tetradic
#903FC0 #C04F3F #6FC03F #3FB0C0
square
#903FC0 #C04F3F #6FC03F #3FB0C0
split-complementary
#903FC0 #B0C03F #3FC04F
monochromatic
#4B2164 #6D3092 #903FC0 #AB6DCF #C59BDE

Accessibility & contrast

On white

5.74
#903FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#903FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903FC0
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903FC0#FFFFFF#000000##FFFFFF
##903FC01.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#2C67BD
Tritanopia (blue-blind)
#895A7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #903fc0;
/* rgb */ color: rgb(144, 63, 192);
/* oklch */ color: oklch(53.5% 0.198 310.2);
Tailwind
colors: {
  custom: {
    50: '#b47ad4',
    500: '#903fc0',
    950: '#000000',
  },
}
SCSS
$custom: #903fc0;
$custom-light: #b47ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#903fc0",
  "rgb": {
    "r": 144,
    "g": 63,
    "b": 192
  },
  "hsl": {
    "h": 277.674,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.53462,
    "c": 0.19782,
    "h": 310.2
  },
  "luminance": 0.1329
}

Semantic roles & 50–950 ramp

primary
#903FC0
secondary
#A6CA91
accent
#DA4E82
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #903FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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