#903BCE#903BCE

#903BCE is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.0% C 0.217 H 306.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#903BCE
RGBrgb(144, 59, 206)
HSLhsl(275, 60%, 52%)
HSVhsv(275, 71%, 81%)
CMYKcmyk(30.1%, 71.4%, 0%, 19.2%)
CIE-LABlab(43.53, 60.34, -61.07)
CIE-LCHlch(43.53, 85.85, 314.65°)
OKLaboklab(54% 0.1301 -0.1734)
OKLCHoklch(54% 0.217 306.9)
XYZxyz(24.2038, 13.5137, 59.7139)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BCE #79CE3B
analogous
#473BCE #903BCE #CE3BC2
triadic
#903BCE #CE903B #3BCE90
tetradic
#903BCE #CE473B #79CE3B #3BC2CE
square
#903BCE #CE473B #79CE3B #3BC2CE
split-complementary
#903BCE #C2CE3B #3BCE47
monochromatic
#4E1D72 #6F29A3 #903BCE #AC6CDA #C79DE6

Accessibility & contrast

On white

5.67
#903BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#903BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BCE
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BCE#FFFFFF#000000##FFFFFF
##903BCE1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#855D81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #903bce;
/* rgb */ color: rgb(144, 59, 206);
/* oklch */ color: oklch(54.0% 0.217 306.9);
Tailwind
colors: {
  custom: {
    50: '#b678de',
    500: '#903bce',
    950: '#000000',
  },
}
SCSS
$custom: #903bce;
$custom-light: #b678de;
$custom-dark: #000000;
JSON
{
  "hex": "#903bce",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 206
  },
  "hsl": {
    "h": 274.694,
    "s": 60,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54001,
    "c": 0.21678,
    "h": 306.9
  },
  "luminance": 0.13513
}

Semantic roles & 50–950 ramp

primary
#903BCE
secondary
#ADD392
accent
#E34587
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #903BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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