#905FD5#905FD5

#905FD5 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.3% C 0.176 H 300.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#905FD5
RGBrgb(144, 95, 213)
HSLhsl(265, 58%, 60%)
HSVhsv(265, 55%, 84%)
CMYKcmyk(32.4%, 55.4%, 0%, 16.5%)
CIE-LABlab(50.59, 44.08, -53.71)
CIE-LCHlch(50.59, 69.48, 309.38°)
OKLaboklab(59.26% 0.0886 -0.1519)
OKLCHoklch(59.26% 0.176 300.3)
XYZxyz(27.6012, 18.9176, 65.1352)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FD5 #A4D55F
analogous
#5F69D5 #905FD5 #CB5FD5
triadic
#905FD5 #D5905F #5FD590
tetradic
#905FD5 #D55F69 #A4D55F #5FD5CB
square
#905FD5 #D55F69 #A4D55F #5FD5CB
split-complementary
#905FD5 #D5CB5F #69D55F
monochromatic
#542793 #6F33C3 #905FD5 #B28FE2 #D3C0EE

Accessibility & contrast

On white

4.39
#905FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#905FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FD5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FD5#FFFFFF#000000##000000
##905FD51.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D78D9
Deuteranopia (green-blind)
#3F78D2
Tritanopia (blue-blind)
#827791
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #905fd5;
/* rgb */ color: rgb(144, 95, 213);
/* oklch */ color: oklch(59.3% 0.176 300.3);
Tailwind
colors: {
  custom: {
    50: '#b48ee2',
    500: '#905fd5',
    950: '#000000',
  },
}
SCSS
$custom: #905fd5;
$custom-light: #b48ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#905fd5",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 264.915,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59259,
    "c": 0.17585,
    "h": 300.3
  },
  "luminance": 0.18918
}

Semantic roles & 50–950 ramp

primary
#905FD5
secondary
#CCDEB1
accent
#C61F81
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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