#905DF6#905DF6

#905DF6 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.2% C 0.218 H 294.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#905DF6
RGBrgb(144, 93, 246)
HSLhsl(260, 89%, 66%)
HSVhsv(260, 62%, 96%)
CMYKcmyk(41.5%, 62.2%, 0%, 3.5%)
CIE-LABlab(52.30, 53.61, -69.54)
CIE-LCHlch(52.30, 87.81, 307.63°)
OKLaboklab(61.18% 0.09 -0.1984)
OKLCHoklch(61.18% 0.218 294.4)
XYZxyz(32.0461, 20.4110, 89.4222)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DF6 #C3F65D
analogous
#5D77F6 #905DF6 #DD5DF6
triadic
#905DF6 #F6905D #5DF690
tetradic
#905DF6 #F65D77 #C3F65D #5DF6DD
square
#905DF6 #F65D77 #C3F65D #5DF6DD
split-complementary
#905DF6 #F6DD5D #77F65D
monochromatic
#4C0BCD #6823F3 #905DF6 #B897F9 #DFD1FC

Accessibility & contrast

On white

4.13
#905DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#905DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905DF6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DF6#FFFFFF#000000##000000
##905DF61.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFB
Deuteranopia (green-blind)
#007AF3
Tritanopia (blue-blind)
#7580A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #905df6;
/* rgb */ color: rgb(144, 93, 246);
/* oklch */ color: oklch(61.2% 0.218 294.4);
Tailwind
colors: {
  custom: {
    50: '#b78dfa',
    500: '#905df6',
    950: '#000000',
  },
}
SCSS
$custom: #905df6;
$custom-light: #b78dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#905df6",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 260,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61181,
    "c": 0.21787,
    "h": 294.4
  },
  "luminance": 0.20412
}

Semantic roles & 50–950 ramp

primary
#905DF6
secondary
#E0F0BF
accent
#E60099
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #905DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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