#905CE9#905CE9

#905CE9 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.1% C 0.204 H 296.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#905CE9
RGBrgb(144, 92, 233)
HSLhsl(262, 76%, 64%)
HSVhsv(262, 61%, 91%)
CMYKcmyk(38.2%, 60.5%, 0%, 8.6%)
CIE-LABlab(51.23, 50.78, -63.99)
CIE-LCHlch(51.23, 81.69, 308.43°)
OKLaboklab(60.13% 0.092 -0.1821)
OKLCHoklch(60.13% 0.204 296.8)
XYZxyz(30.0330, 19.4663, 79.2500)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CE9 #B5E95C
analogous
#5C6EE9 #905CE9 #D75CE9
triadic
#905CE9 #E9905C #5CE990
tetradic
#905CE9 #E95C6E #B5E95C #5CE9D7
square
#905CE9 #E95C6E #B5E95C #5CE9D7
split-complementary
#905CE9 #E9D75C #6EE95C
monochromatic
#5118B3 #6B26E2 #905CE9 #B592F0 #D9C8F8

Accessibility & contrast

On white

4.29
#905CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#905CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CE9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CE9#FFFFFF#000000##000000
##905CE91.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#1778E6
Tritanopia (blue-blind)
#7A7B9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #905ce9;
/* rgb */ color: rgb(144, 92, 233);
/* oklch */ color: oklch(60.1% 0.204 296.8);
Tailwind
colors: {
  custom: {
    50: '#b68cf1',
    500: '#905ce9',
    950: '#000000',
  },
}
SCSS
$custom: #905ce9;
$custom-light: #b68cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#905ce9",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 262.128,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60127,
    "c": 0.204,
    "h": 296.8
  },
  "luminance": 0.19467
}

Semantic roles & 50–950 ramp

primary
#905CE9
secondary
#D7E9B8
accent
#D80D8D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #905CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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