#905DC5#905DC5

#905DC5 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.0% C 0.160 H 304.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#905DC5
RGBrgb(144, 93, 197)
HSLhsl(269, 47%, 57%)
HSVhsv(269, 53%, 77%)
CMYKcmyk(26.9%, 52.8%, 0%, 22.7%)
CIE-LABlab(49.24, 41.24, -46.71)
CIE-LCHlch(49.24, 62.31, 311.44°)
OKLaboklab(57.96% 0.0905 -0.1314)
OKLCHoklch(57.96% 0.16 304.6)
XYZxyz(25.4918, 17.7893, 54.9032)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DC5 #92C55D
analogous
#5D5EC5 #905DC5 #C45DC5
triadic
#905DC5 #C5905D #5DC590
tetradic
#905DC5 #C55D5E #92C55D #5DC5C4
square
#905DC5 #C55D5E #92C55D #5DC5C4
split-complementary
#905DC5 #C5C45D #5EC55D
monochromatic
#532C7B #713CA8 #905DC5 #AF8AD5 #CEB7E5

Accessibility & contrast

On white

4.61
#905DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#905DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905DC5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DC5#FFFFFF#000000##FFFFFF
##905DC51.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B74C9
Deuteranopia (green-blind)
#4A75C2
Tritanopia (blue-blind)
#877088
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905dc5;
/* rgb */ color: rgb(144, 93, 197);
/* oklch */ color: oklch(58.0% 0.160 304.6);
Tailwind
colors: {
  custom: {
    50: '#b38cd7',
    500: '#905dc5',
    950: '#000000',
  },
}
SCSS
$custom: #905dc5;
$custom-light: #b38cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#905dc5",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 197
  },
  "hsl": {
    "h": 269.423,
    "s": 47.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57963,
    "c": 0.1595,
    "h": 304.6
  },
  "luminance": 0.17789
}

Semantic roles & 50–950 ramp

primary
#905DC5
secondary
#BFD4AA
accent
#D75195
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #905DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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