#903BCF#903BCF

#903BCF is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.1% C 0.218 H 306.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#903BCF
RGBrgb(144, 59, 207)
HSLhsl(274, 61%, 52%)
HSVhsv(274, 71%, 81%)
CMYKcmyk(30.4%, 71.5%, 0%, 18.8%)
CIE-LABlab(43.60, 60.56, -61.54)
CIE-LCHlch(43.60, 86.34, 314.54°)
OKLaboklab(54.07% 0.13 -0.1747)
OKLCHoklch(54.07% 0.218 306.6)
XYZxyz(24.3256, 13.5625, 60.3557)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BCF #7ACF3B
analogous
#463BCF #903BCF #CF3BC4
triadic
#903BCF #CF903B #3BCF90
tetradic
#903BCF #CF463B #7ACF3B #3BC4CF
square
#903BCF #CF463B #7ACF3B #3BC4CF
split-complementary
#903BCF #C4CF3B #3BCF46
monochromatic
#4E1C73 #7028A5 #903BCF #AC6CDB #C89DE7

Accessibility & contrast

On white

5.66
#903BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#903BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BCF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BCF#FFFFFF#000000##FFFFFF
##903BCF1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#855E81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #903bcf;
/* rgb */ color: rgb(144, 59, 207);
/* oklch */ color: oklch(54.1% 0.218 306.6);
Tailwind
colors: {
  custom: {
    50: '#b678df',
    500: '#903bcf',
    950: '#000000',
  },
}
SCSS
$custom: #903bcf;
$custom-light: #b678df;
$custom-dark: #000000;
JSON
{
  "hex": "#903bcf",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 207
  },
  "hsl": {
    "h": 274.459,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54074,
    "c": 0.21777,
    "h": 306.6
  },
  "luminance": 0.13562
}

Semantic roles & 50–950 ramp

primary
#903BCF
secondary
#AED393
accent
#E44488
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #903BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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