#905FD4#905FD4

#905FD4 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.2% C 0.175 H 300.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#905FD4
RGBrgb(144, 95, 212)
HSLhsl(265, 58%, 60%)
HSVhsv(265, 55%, 83%)
CMYKcmyk(32.1%, 55.2%, 0%, 16.9%)
CIE-LABlab(50.53, 43.83, -53.23)
CIE-LCHlch(50.53, 68.95, 309.46°)
OKLaboklab(59.2% 0.0886 -0.1505)
OKLCHoklch(59.2% 0.175 300.5)
XYZxyz(27.4747, 18.8670, 64.4688)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FD4 #A3D45F
analogous
#5F69D4 #905FD4 #CA5FD4
triadic
#905FD4 #D4905F #5FD490
tetradic
#905FD4 #D45F69 #A3D45F #5FD4CA
square
#905FD4 #D45F69 #A3D45F #5FD4CA
split-complementary
#905FD4 #D4CA5F #69D45F
monochromatic
#542791 #6F34C2 #905FD4 #B18FE1 #D3BFEE

Accessibility & contrast

On white

4.40
#905FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#905FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FD4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FD4#FFFFFF#000000##000000
##905FD41.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F78D8
Deuteranopia (green-blind)
#4078D1
Tritanopia (blue-blind)
#827690
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #905fd4;
/* rgb */ color: rgb(144, 95, 212);
/* oklch */ color: oklch(59.2% 0.175 300.5);
Tailwind
colors: {
  custom: {
    50: '#b48ee2',
    500: '#905fd4',
    950: '#000000',
  },
}
SCSS
$custom: #905fd4;
$custom-light: #b48ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#905fd4",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 265.128,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59196,
    "c": 0.17464,
    "h": 300.5
  },
  "luminance": 0.18867
}

Semantic roles & 50–950 ramp

primary
#905FD4
secondary
#CBDEB1
accent
#C52080
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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