#905FF6#905FF6

#905FF6 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.5% C 0.215 H 294.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#905FF6
RGBrgb(144, 95, 246)
HSLhsl(259, 89%, 67%)
HSVhsv(259, 61%, 96%)
CMYKcmyk(41.5%, 61.4%, 0%, 3.5%)
CIE-LABlab(52.69, 52.55, -68.90)
CIE-LCHlch(52.69, 86.65, 307.33°)
OKLaboklab(61.47% 0.0879 -0.1965)
OKLCHoklch(61.47% 0.215 294.1)
XYZxyz(32.2239, 20.7667, 89.4815)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FF6 #C5F65F
analogous
#5F7AF6 #905FF6 #DB5FF6
triadic
#905FF6 #F6905F #5FF690
tetradic
#905FF6 #F65F7A #C5F65F #5FF6DB
square
#905FF6 #F65F7A #C5F65F #5FF6DB
split-complementary
#905FF6 #F6DB5F #7AF65F
monochromatic
#4B0CCF #6825F3 #905FF6 #B899F9 #E0D3FD

Accessibility & contrast

On white

4.07
#905FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#905FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FF6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FF6#FFFFFF#000000##000000
##905FF61.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#007BF3
Tritanopia (blue-blind)
#7581A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #905ff6;
/* rgb */ color: rgb(144, 95, 246);
/* oklch */ color: oklch(61.5% 0.215 294.1);
Tailwind
colors: {
  custom: {
    50: '#b78ffa',
    500: '#905ff6',
    950: '#000000',
  },
}
SCSS
$custom: #905ff6;
$custom-light: #b78ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#905ff6",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 259.47,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61468,
    "c": 0.21528,
    "h": 294.1
  },
  "luminance": 0.20768
}

Semantic roles & 50–950 ramp

primary
#905FF6
secondary
#E1F1C0
accent
#E6009B
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #905FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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