#905FD3#905FD3

#905FD3 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.1% C 0.173 H 300.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#905FD3
RGBrgb(144, 95, 211)
HSLhsl(265, 57%, 60%)
HSVhsv(265, 55%, 83%)
CMYKcmyk(31.8%, 55%, 0%, 17.3%)
CIE-LABlab(50.47, 43.58, -52.76)
CIE-LCHlch(50.47, 68.43, 309.56°)
OKLaboklab(59.13% 0.0886 -0.1491)
OKLCHoklch(59.13% 0.173 300.7)
XYZxyz(27.3489, 18.8167, 63.8065)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FD3 #A2D35F
analogous
#5F68D3 #905FD3 #CA5FD3
triadic
#905FD3 #D3905F #5FD390
tetradic
#905FD3 #D35F68 #A2D35F #5FD3CA
square
#905FD3 #D35F68 #A2D35F #5FD3CA
split-complementary
#905FD3 #D3CA5F #68D35F
monochromatic
#542890 #7035C0 #905FD3 #B18FE0 #D3BFED

Accessibility & contrast

On white

4.41
#905FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#905FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FD3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FD3#FFFFFF#000000##000000
##905FD31.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3078D7
Deuteranopia (green-blind)
#4177D0
Tritanopia (blue-blind)
#827690
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #905fd3;
/* rgb */ color: rgb(144, 95, 211);
/* oklch */ color: oklch(59.1% 0.173 300.7);
Tailwind
colors: {
  custom: {
    50: '#b48ee1',
    500: '#905fd3',
    950: '#000000',
  },
}
SCSS
$custom: #905fd3;
$custom-light: #b48ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#905fd3",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 211
  },
  "hsl": {
    "h": 265.345,
    "s": 56.863,
    "l": 60
  },
  "oklch": {
    "l": 0.59133,
    "c": 0.17342,
    "h": 300.7
  },
  "luminance": 0.18817
}

Semantic roles & 50–950 ramp

primary
#905FD3
secondary
#CADDB1
accent
#E048A0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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