#905FD1#905FD1

#905FD1 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.0% C 0.171 H 301.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#905FD1
RGBrgb(144, 95, 209)
HSLhsl(266, 55%, 60%)
HSVhsv(266, 55%, 82%)
CMYKcmyk(31.1%, 54.5%, 0%, 18%)
CIE-LABlab(50.35, 43.08, -51.81)
CIE-LCHlch(50.35, 67.38, 309.74°)
OKLaboklab(59.01% 0.0885 -0.1463)
OKLCHoklch(59.01% 0.171 301.2)
XYZxyz(27.0997, 18.7171, 62.4943)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FD1 #A0D15F
analogous
#5F67D1 #905FD1 #C95FD1
triadic
#905FD1 #D1905F #5FD190
tetradic
#905FD1 #D15F67 #A0D15F #5FD1C9
square
#905FD1 #D15F67 #A0D15F #5FD1C9
split-complementary
#905FD1 #D1C95F #67D15F
monochromatic
#54298D #7036BD #905FD1 #B18FDF #D2BEEC

Accessibility & contrast

On white

4.43
#905FD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#905FD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FD1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FD1#FFFFFF#000000##000000
##905FD11.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3277D5
Deuteranopia (green-blind)
#4377CE
Tritanopia (blue-blind)
#83758F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #905fd1;
/* rgb */ color: rgb(144, 95, 209);
/* oklch */ color: oklch(59.0% 0.171 301.2);
Tailwind
colors: {
  custom: {
    50: '#b48ee0',
    500: '#905fd1',
    950: '#000000',
  },
}
SCSS
$custom: #905fd1;
$custom-light: #b48ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#905fd1",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 209
  },
  "hsl": {
    "h": 265.789,
    "s": 55.34,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59009,
    "c": 0.17099,
    "h": 301.2
  },
  "luminance": 0.18717
}

Semantic roles & 50–950 ramp

primary
#905FD1
secondary
#C9DCB0
accent
#DF499E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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