#905CE3#905CE3

#905CE3 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.7% C 0.197 H 297.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#905CE3
RGBrgb(144, 92, 227)
HSLhsl(263, 71%, 63%)
HSVhsv(263, 59%, 89%)
CMYKcmyk(36.6%, 59.5%, 0%, 11%)
CIE-LABlab(50.84, 49.25, -61.24)
CIE-LCHlch(50.84, 78.59, 308.80°)
OKLaboklab(59.72% 0.0922 -0.174)
OKLCHoklch(59.72% 0.197 297.9)
XYZxyz(29.1904, 19.1292, 74.8126)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CE3 #AFE35C
analogous
#5C6BE3 #905CE3 #D45CE3
triadic
#905CE3 #E3905C #5CE390
tetradic
#905CE3 #E35C6B #AFE35C #5CE3D4
square
#905CE3 #E35C6B #AFE35C #5CE3D4
split-complementary
#905CE3 #E3D45C #6BE35C
monochromatic
#521DA8 #6C28DA #905CE3 #B490EC #D7C4F5

Accessibility & contrast

On white

4.35
#905CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#905CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CE3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CE3#FFFFFF#000000##000000
##905CE31.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#2678E0
Tritanopia (blue-blind)
#7D7997
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #905ce3;
/* rgb */ color: rgb(144, 92, 227);
/* oklch */ color: oklch(59.7% 0.197 297.9);
Tailwind
colors: {
  custom: {
    50: '#b58ced',
    500: '#905ce3',
    950: '#000000',
  },
}
SCSS
$custom: #905ce3;
$custom-light: #b58ced;
$custom-dark: #000000;
JSON
{
  "hex": "#905ce3",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 263.111,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59718,
    "c": 0.19693,
    "h": 297.9
  },
  "luminance": 0.1913
}

Semantic roles & 50–950 ramp

primary
#905CE3
secondary
#D3E6B5
accent
#D31389
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905CE3

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

Preview Lab → · Contrast checker → · Palette generator →

#905CE3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva