#905FD6#905FD6

#905FD6 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.3% C 0.177 H 300.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#905FD6
RGBrgb(144, 95, 214)
HSLhsl(265, 59%, 61%)
HSVhsv(265, 56%, 84%)
CMYKcmyk(32.7%, 55.6%, 0%, 16.1%)
CIE-LABlab(50.65, 44.33, -54.18)
CIE-LCHlch(50.65, 70.00, 309.29°)
OKLaboklab(59.32% 0.0886 -0.1533)
OKLCHoklch(59.32% 0.177 300)
XYZxyz(27.7285, 18.9686, 65.8057)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FD6 #A5D65F
analogous
#5F69D6 #905FD6 #CB5FD6
triadic
#905FD6 #D6905F #5FD690
tetradic
#905FD6 #D65F69 #A5D65F #5FD6CB
square
#905FD6 #D65F69 #A5D65F #5FD6CB
split-complementary
#905FD6 #D6CB5F #69D65F
monochromatic
#542695 #6F33C5 #905FD6 #B290E2 #D4C0EF

Accessibility & contrast

On white

4.38
#905FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#905FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FD6
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FD6#FFFFFF#000000##000000
##905FD61.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C78DA
Deuteranopia (green-blind)
#3E78D3
Tritanopia (blue-blind)
#817791
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #905fd6;
/* rgb */ color: rgb(144, 95, 214);
/* oklch */ color: oklch(59.3% 0.177 300.0);
Tailwind
colors: {
  custom: {
    50: '#b48ee3',
    500: '#905fd6',
    950: '#000000',
  },
}
SCSS
$custom: #905fd6;
$custom-light: #b48ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#905fd6",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 214
  },
  "hsl": {
    "h": 264.706,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59322,
    "c": 0.17706,
    "h": 300
  },
  "luminance": 0.18969
}

Semantic roles & 50–950 ramp

primary
#905FD6
secondary
#CCDFB2
accent
#C71F82
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #905FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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