#905CE1#905CE1

#905CE1 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.6% C 0.195 H 298.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#905CE1
RGBrgb(144, 92, 225)
HSLhsl(263, 69%, 62%)
HSVhsv(263, 59%, 88%)
CMYKcmyk(36%, 59.1%, 0%, 11.8%)
CIE-LABlab(50.71, 48.74, -60.32)
CIE-LCHlch(50.71, 77.55, 308.94°)
OKLaboklab(59.58% 0.0923 -0.1713)
OKLCHoklch(59.58% 0.195 298.3)
XYZxyz(28.9160, 19.0195, 73.3672)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CE1 #ADE15C
analogous
#5C6AE1 #905CE1 #D35CE1
triadic
#905CE1 #E1905C #5CE190
tetradic
#905CE1 #E15C6A #ADE15C #5CE1D3
square
#905CE1 #E15C6A #ADE15C #5CE1D3
split-complementary
#905CE1 #E1D35C #6AE15C
monochromatic
#531EA4 #6D28D7 #905CE1 #B390EB #D6C3F4

Accessibility & contrast

On white

4.37
#905CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#905CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CE1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CE1#FFFFFF#000000##000000
##905CE11.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0379E5
Deuteranopia (green-blind)
#2A77DE
Tritanopia (blue-blind)
#7E7896
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #905ce1;
/* rgb */ color: rgb(144, 92, 225);
/* oklch */ color: oklch(59.6% 0.195 298.3);
Tailwind
colors: {
  custom: {
    50: '#b58ceb',
    500: '#905ce1',
    950: '#000000',
  },
}
SCSS
$custom: #905ce1;
$custom-light: #b58ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#905ce1",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 225
  },
  "hsl": {
    "h": 263.459,
    "s": 68.912,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59583,
    "c": 0.19456,
    "h": 298.3
  },
  "luminance": 0.1902
}

Semantic roles & 50–950 ramp

primary
#905CE1
secondary
#D2E5B4
accent
#D11587
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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