#905DCB#905DCB

#905DCB is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.3% C 0.167 H 303.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#905DCB
RGBrgb(144, 93, 203)
HSLhsl(268, 51%, 58%)
HSVhsv(268, 54%, 80%)
CMYKcmyk(29.1%, 54.2%, 0%, 20.4%)
CIE-LABlab(49.58, 42.70, -49.61)
CIE-LCHlch(49.58, 65.46, 310.72°)
OKLaboklab(58.33% 0.0908 -0.1399)
OKLCHoklch(58.33% 0.167 303)
XYZxyz(26.1930, 18.0698, 58.5962)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DCB #98CB5D
analogous
#5D61CB #905DCB #C75DCB
triadic
#905DCB #CB905D #5DCB90
tetradic
#905DCB #CB5D61 #98CB5D #5DCBC7
square
#905DCB #CB5D61 #98CB5D #5DCBC7
split-complementary
#905DCB #CBC75D #61CB5D
monochromatic
#542A83 #7139B2 #905DCB #B08BDA #CFBAE9

Accessibility & contrast

On white

4.55
#905DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#905DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905DCB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DCB#FFFFFF#000000##000000
##905DCB1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3575CF
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#85728B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905dcb;
/* rgb */ color: rgb(144, 93, 203);
/* oklch */ color: oklch(58.3% 0.167 303.0);
Tailwind
colors: {
  custom: {
    50: '#b48cdb',
    500: '#905dcb',
    950: '#000000',
  },
}
SCSS
$custom: #905dcb;
$custom-light: #b48cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#905dcb",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 267.818,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58325,
    "c": 0.16676,
    "h": 303
  },
  "luminance": 0.1807
}

Semantic roles & 50–950 ramp

primary
#905DCB
secondary
#C3D8AC
accent
#DB4D99
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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