#905DEA#905DEA

#905DEA is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.3% C 0.204 H 296.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#905DEA
RGBrgb(144, 93, 234)
HSLhsl(262, 77%, 64%)
HSVhsv(262, 60%, 92%)
CMYKcmyk(38.5%, 60.3%, 0%, 8.2%)
CIE-LABlab(51.49, 50.50, -64.13)
CIE-LCHlch(51.49, 81.63, 308.22°)
OKLaboklab(60.34% 0.0908 -0.1825)
OKLCHoklch(60.34% 0.204 296.4)
XYZxyz(30.2634, 19.6980, 80.0336)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DEA #B7EA5D
analogous
#5D71EA #905DEA #D65DEA
triadic
#905DEA #EA905D #5DEA90
tetradic
#905DEA #EA5D71 #B7EA5D #5DEAD6
square
#905DEA #EA5D71 #B7EA5D #5DEAD6
split-complementary
#905DEA #EAD65D #71EA5D
monochromatic
#5017B5 #6B27E3 #905DEA #B593F1 #DAC9F8

Accessibility & contrast

On white

4.25
#905DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#905DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905DEA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DEA#FFFFFF#000000##000000
##905DEA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#1879E7
Tritanopia (blue-blind)
#7A7C9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #905dea;
/* rgb */ color: rgb(144, 93, 234);
/* oklch */ color: oklch(60.3% 0.204 296.4);
Tailwind
colors: {
  custom: {
    50: '#b68df2',
    500: '#905dea',
    950: '#000000',
  },
}
SCSS
$custom: #905dea;
$custom-light: #b68df2;
$custom-dark: #000000;
JSON
{
  "hex": "#905dea",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 261.702,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60341,
    "c": 0.20382,
    "h": 296.4
  },
  "luminance": 0.19699
}

Semantic roles & 50–950 ramp

primary
#905DEA
secondary
#D8EAB9
accent
#D90C8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #905DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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