#905CE4#905CE4

#905CE4 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.8% C 0.198 H 297.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#905CE4
RGBrgb(144, 92, 228)
HSLhsl(263, 72%, 63%)
HSVhsv(263, 60%, 89%)
CMYKcmyk(36.8%, 59.6%, 0%, 10.6%)
CIE-LABlab(50.90, 49.50, -61.70)
CIE-LCHlch(50.90, 79.11, 308.74°)
OKLaboklab(59.79% 0.0922 -0.1754)
OKLCHoklch(59.79% 0.198 297.7)
XYZxyz(29.3288, 19.1846, 75.5415)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CE4 #B0E45C
analogous
#5C6CE4 #905CE4 #D45CE4
triadic
#905CE4 #E4905C #5CE490
tetradic
#905CE4 #E45C6C #B0E45C #5CE4D4
square
#905CE4 #E45C6C #B0E45C #5CE4D4
split-complementary
#905CE4 #E4D45C #6CE45C
monochromatic
#521CAA #6C27DB #905CE4 #B491ED #D8C5F5

Accessibility & contrast

On white

4.34
#905CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#905CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CE4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CE4#FFFFFF#000000##000000
##905CE41.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#2478E1
Tritanopia (blue-blind)
#7C7997
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #905ce4;
/* rgb */ color: rgb(144, 92, 228);
/* oklch */ color: oklch(59.8% 0.198 297.7);
Tailwind
colors: {
  custom: {
    50: '#b58ced',
    500: '#905ce4',
    950: '#000000',
  },
}
SCSS
$custom: #905ce4;
$custom-light: #b58ced;
$custom-dark: #000000;
JSON
{
  "hex": "#905ce4",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 262.941,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59785,
    "c": 0.19811,
    "h": 297.7
  },
  "luminance": 0.19185
}

Semantic roles & 50–950 ramp

primary
#905CE4
secondary
#D4E7B5
accent
#D4128A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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