#905FD8#905FD8

#905FD8 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.4% C 0.179 H 299.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#905FD8
RGBrgb(144, 95, 216)
HSLhsl(264, 61%, 61%)
HSVhsv(264, 56%, 85%)
CMYKcmyk(33.3%, 56%, 0%, 15.3%)
CIE-LABlab(50.77, 44.83, -55.13)
CIE-LCHlch(50.77, 71.05, 309.12°)
OKLaboklab(59.45% 0.0887 -0.156)
OKLCHoklch(59.45% 0.179 299.6)
XYZxyz(27.9855, 19.0713, 67.1592)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FD8 #A7D85F
analogous
#5F6AD8 #905FD8 #CD5FD8
triadic
#905FD8 #D8905F #5FD890
tetradic
#905FD8 #D85F6A #A7D85F #5FD8CD
square
#905FD8 #D85F6A #A7D85F #5FD8CD
split-complementary
#905FD8 #D8CD5F #6AD85F
monochromatic
#532598 #6E31C9 #905FD8 #B290E4 #D4C1F0

Accessibility & contrast

On white

4.36
#905FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#905FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FD8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FD8#FFFFFF#000000##000000
##905FD81.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2979DC
Deuteranopia (green-blind)
#3B78D5
Tritanopia (blue-blind)
#817792
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #905fd8;
/* rgb */ color: rgb(144, 95, 216);
/* oklch */ color: oklch(59.4% 0.179 299.6);
Tailwind
colors: {
  custom: {
    50: '#b48ee5',
    500: '#905fd8',
    950: '#000000',
  },
}
SCSS
$custom: #905fd8;
$custom-light: #b48ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#905fd8",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 264.298,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59449,
    "c": 0.17949,
    "h": 299.6
  },
  "luminance": 0.19072
}

Semantic roles & 50–950 ramp

primary
#905FD8
secondary
#CEE0B3
accent
#C81D83
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #905FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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