#905CD3#905CD3

#905CD3 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.178 H 301.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#905CD3
RGBrgb(144, 92, 211)
HSLhsl(266, 57%, 59%)
HSVhsv(266, 56%, 83%)
CMYKcmyk(31.8%, 56.4%, 0%, 17.3%)
CIE-LABlab(49.84, 45.22, -53.77)
CIE-LCHlch(49.84, 70.26, 310.07°)
OKLaboklab(58.67% 0.0923 -0.1521)
OKLCHoklch(58.67% 0.178 301.3)
XYZxyz(27.0839, 18.2866, 63.7182)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CD3 #9FD35C
analogous
#5C64D3 #905CD3 #CB5CD3
triadic
#905CD3 #D3905C #5CD390
tetradic
#905CD3 #D35C64 #9FD35C #5CD3CB
square
#905CD3 #D35C64 #9FD35C #5CD3CB
split-complementary
#905CD3 #D3CB5C #64D35C
monochromatic
#54268E #7033BE #905CD3 #B18CE0 #D2BCED

Accessibility & contrast

On white

4.51
#905CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#905CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CD3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CD3#FFFFFF#000000##000000
##905CD31.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2876D7
Deuteranopia (green-blind)
#3D76D0
Tritanopia (blue-blind)
#83748F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905cd3;
/* rgb */ color: rgb(144, 92, 211);
/* oklch */ color: oklch(58.7% 0.178 301.3);
Tailwind
colors: {
  custom: {
    50: '#b48ce1',
    500: '#905cd3',
    950: '#000000',
  },
}
SCSS
$custom: #905cd3;
$custom-light: #b48ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#905cd3",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 266.218,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5867,
    "c": 0.1779,
    "h": 301.3
  },
  "luminance": 0.18287
}

Semantic roles & 50–950 ramp

primary
#905CD3
secondary
#C8DDAE
accent
#E1479E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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