#905DEC#905DEC

#905DEC is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.5% C 0.206 H 296.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#905DEC
RGBrgb(144, 93, 236)
HSLhsl(261, 79%, 65%)
HSVhsv(261, 61%, 93%)
CMYKcmyk(39%, 60.6%, 0%, 7.5%)
CIE-LABlab(51.63, 51.02, -65.04)
CIE-LCHlch(51.63, 82.66, 308.11°)
OKLaboklab(60.48% 0.0907 -0.1852)
OKLCHoklch(60.48% 0.206 296.1)
XYZxyz(30.5523, 19.8135, 81.5553)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DEC #B9EC5D
analogous
#5D71EC #905DEC #D85DEC
triadic
#905DEC #EC905D #5DEC90
tetradic
#905DEC #EC5D71 #B9EC5D #5DECD8
square
#905DEC #EC5D71 #B9EC5D #5DECD8
split-complementary
#905DEC #ECD85D #71EC5D
monochromatic
#5016B9 #6A26E6 #905DEC #B694F2 #DBCBF9

Accessibility & contrast

On white

4.23
#905DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#905DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905DEC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DEC#FFFFFF#000000##000000
##905DEC1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#1179E9
Tritanopia (blue-blind)
#797D9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #905dec;
/* rgb */ color: rgb(144, 93, 236);
/* oklch */ color: oklch(60.5% 0.206 296.1);
Tailwind
colors: {
  custom: {
    50: '#b68df3',
    500: '#905dec',
    950: '#000000',
  },
}
SCSS
$custom: #905dec;
$custom-light: #b68df3;
$custom-dark: #000000;
JSON
{
  "hex": "#905dec",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 261.399,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60479,
    "c": 0.20618,
    "h": 296.1
  },
  "luminance": 0.19814
}

Semantic roles & 50–950 ramp

primary
#905DEC
secondary
#D9EBBA
accent
#DB0A91
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #905DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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