#905CD1#905CD1

#905CD1 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.5% C 0.175 H 301.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#905CD1
RGBrgb(144, 92, 209)
HSLhsl(267, 56%, 59%)
HSVhsv(267, 56%, 82%)
CMYKcmyk(31.1%, 56%, 0%, 18%)
CIE-LABlab(49.72, 44.73, -52.82)
CIE-LCHlch(49.72, 69.21, 310.26°)
OKLaboklab(58.54% 0.0923 -0.1493)
OKLCHoklch(58.54% 0.176 301.7)
XYZxyz(26.8347, 18.1870, 62.4059)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CD1 #9DD15C
analogous
#5C63D1 #905CD1 #CB5CD1
triadic
#905CD1 #D1905C #5CD190
tetradic
#905CD1 #D15C63 #9DD15C #5CD1CB
square
#905CD1 #D15C63 #9DD15C #5CD1CB
split-complementary
#905CD1 #D1CB5C #63D15C
monochromatic
#54278B #7035BB #905CD1 #B18CDE #D1BBEC

Accessibility & contrast

On white

4.53
#905CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#905CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CD1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CD1#FFFFFF#000000##000000
##905CD11.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B75D5
Deuteranopia (green-blind)
#3F76CE
Tritanopia (blue-blind)
#83738E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905cd1;
/* rgb */ color: rgb(144, 92, 209);
/* oklch */ color: oklch(58.5% 0.175 301.7);
Tailwind
colors: {
  custom: {
    50: '#b48ce0',
    500: '#905cd1',
    950: '#000000',
  },
}
SCSS
$custom: #905cd1;
$custom-light: #b48ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#905cd1",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 266.667,
    "s": 55.981,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58543,
    "c": 0.1755,
    "h": 301.7
  },
  "luminance": 0.18187
}

Semantic roles & 50–950 ramp

primary
#905CD1
secondary
#C7DBAD
accent
#DF499C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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