#905DEB#905DEB

#905DEB is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.4% C 0.205 H 296.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#905DEB
RGBrgb(144, 93, 235)
HSLhsl(262, 78%, 64%)
HSVhsv(262, 60%, 92%)
CMYKcmyk(38.7%, 60.4%, 0%, 7.8%)
CIE-LABlab(51.56, 50.76, -64.58)
CIE-LCHlch(51.56, 82.14, 308.17°)
OKLaboklab(60.41% 0.0907 -0.1838)
OKLCHoklch(60.41% 0.205 296.3)
XYZxyz(30.4075, 19.7556, 80.7923)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DEB #B8EB5D
analogous
#5D71EB #905DEB #D75DEB
triadic
#905DEB #EB905D #5DEB90
tetradic
#905DEB #EB5D71 #B8EB5D #5DEBD7
square
#905DEB #EB5D71 #B8EB5D #5DEBD7
split-complementary
#905DEB #EBD75D #71EB5D
monochromatic
#5017B7 #6B27E4 #905DEB #B593F2 #DBCAF8

Accessibility & contrast

On white

4.24
#905DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#905DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905DEB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DEB#FFFFFF#000000##000000
##905DEB1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#1579E8
Tritanopia (blue-blind)
#7A7C9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #905deb;
/* rgb */ color: rgb(144, 93, 235);
/* oklch */ color: oklch(60.4% 0.205 296.3);
Tailwind
colors: {
  custom: {
    50: '#b68df2',
    500: '#905deb',
    950: '#000000',
  },
}
SCSS
$custom: #905deb;
$custom-light: #b68df2;
$custom-dark: #000000;
JSON
{
  "hex": "#905deb",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 261.549,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6041,
    "c": 0.205,
    "h": 296.3
  },
  "luminance": 0.19756
}

Semantic roles & 50–950 ramp

primary
#905DEB
secondary
#D9EBB9
accent
#DA0B90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #905DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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