#905FD9#905FD9

#905FD9 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.5% C 0.181 H 299.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#905FD9
RGBrgb(144, 95, 217)
HSLhsl(264, 62%, 61%)
HSVhsv(264, 56%, 85%)
CMYKcmyk(33.6%, 56.2%, 0%, 14.9%)
CIE-LABlab(50.83, 45.08, -55.60)
CIE-LCHlch(50.83, 71.58, 309.04°)
OKLaboklab(59.51% 0.0887 -0.1574)
OKLCHoklch(59.51% 0.181 299.4)
XYZxyz(28.1152, 19.1232, 67.8421)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FD9 #A8D95F
analogous
#5F6BD9 #905FD9 #CD5FD9
triadic
#905FD9 #D9905F #5FD990
tetradic
#905FD9 #D95F6B #A8D95F #5FD9CD
square
#905FD9 #D95F6B #A8D95F #5FD9CD
split-complementary
#905FD9 #D9CD5F #6BD95F
monochromatic
#532499 #6E30CB #905FD9 #B290E5 #D5C2F0

Accessibility & contrast

On white

4.35
#905FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#905FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FD9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FD9#FFFFFF#000000##000000
##905FD91.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2879DD
Deuteranopia (green-blind)
#3A78D6
Tritanopia (blue-blind)
#807893
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #905fd9;
/* rgb */ color: rgb(144, 95, 217);
/* oklch */ color: oklch(59.5% 0.181 299.4);
Tailwind
colors: {
  custom: {
    50: '#b48ee5',
    500: '#905fd9',
    950: '#000000',
  },
}
SCSS
$custom: #905fd9;
$custom-light: #b48ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#905fd9",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 264.098,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59513,
    "c": 0.1807,
    "h": 299.4
  },
  "luminance": 0.19123
}

Semantic roles & 50–950 ramp

primary
#905FD9
secondary
#CEE1B3
accent
#C91C84
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #905FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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