#905BC9#905BC9

#905BC9 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.9% C 0.167 H 303.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#905BC9
RGBrgb(144, 91, 201)
HSLhsl(269, 50%, 57%)
HSVhsv(269, 55%, 79%)
CMYKcmyk(28.4%, 54.7%, 0%, 21.2%)
CIE-LABlab(49.04, 43.31, -49.32)
CIE-LCHlch(49.04, 65.64, 311.29°)
OKLaboklab(57.89% 0.0933 -0.139)
OKLCHoklch(57.89% 0.167 303.9)
XYZxyz(25.7830, 17.6286, 57.2914)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BC9 #94C95B
analogous
#5B5DC9 #905BC9 #C75BC9
triadic
#905BC9 #C9905B #5BC990
tetradic
#905BC9 #C95B5D #94C95B #5BC9C7
square
#905BC9 #C95B5D #94C95B #5BC9C7
split-complementary
#905BC9 #C9C75B #5DC95B
monochromatic
#532A80 #7139AE #905BC9 #AF89D8 #CEB7E7

Accessibility & contrast

On white

4.64
#905BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#905BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905BC9
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BC9#FFFFFF#000000##FFFFFF
##905BC91.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3373CD
Deuteranopia (green-blind)
#4574C6
Tritanopia (blue-blind)
#867089
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905bc9;
/* rgb */ color: rgb(144, 91, 201);
/* oklch */ color: oklch(57.9% 0.167 303.9);
Tailwind
colors: {
  custom: {
    50: '#b48bda',
    500: '#905bc9',
    950: '#000000',
  },
}
SCSS
$custom: #905bc9;
$custom-light: #b48bda;
$custom-dark: #000000;
JSON
{
  "hex": "#905bc9",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 201
  },
  "hsl": {
    "h": 268.909,
    "s": 50.459,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57891,
    "c": 0.16744,
    "h": 303.9
  },
  "luminance": 0.17629
}

Semantic roles & 50–950 ramp

primary
#905BC9
secondary
#C1D6AA
accent
#DA4E96
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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