#905BC7#905BC7

#905BC7 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.8% C 0.165 H 304.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#905BC7
RGBrgb(144, 91, 199)
HSLhsl(269, 49%, 57%)
HSVhsv(269, 54%, 78%)
CMYKcmyk(27.6%, 54.3%, 0%, 22%)
CIE-LABlab(48.93, 42.83, -48.35)
CIE-LCHlch(48.93, 64.59, 311.53°)
OKLaboklab(57.77% 0.0932 -0.1362)
OKLCHoklch(57.77% 0.165 304.4)
XYZxyz(25.5492, 17.5351, 56.0604)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BC7 #92C75B
analogous
#5B5CC7 #905BC7 #C65BC7
triadic
#905BC7 #C7905B #5BC790
tetradic
#905BC7 #C75B5C #92C75B #5BC7C6
square
#905BC7 #C75B5C #92C75B #5BC7C6
split-complementary
#905BC7 #C7C65B #5CC75B
monochromatic
#532B7D #713AAB #905BC7 #AF89D7 #CEB6E6

Accessibility & contrast

On white

4.66
#905BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#905BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905BC7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BC7#FFFFFF#000000##FFFFFF
##905BC71.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3573CB
Deuteranopia (green-blind)
#4774C4
Tritanopia (blue-blind)
#866F88
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #905bc7;
/* rgb */ color: rgb(144, 91, 199);
/* oklch */ color: oklch(57.8% 0.165 304.4);
Tailwind
colors: {
  custom: {
    50: '#b38bd8',
    500: '#905bc7',
    950: '#000000',
  },
}
SCSS
$custom: #905bc7;
$custom-light: #b38bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#905bc7",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 269.444,
    "s": 49.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57769,
    "c": 0.16504,
    "h": 304.4
  },
  "luminance": 0.17535
}

Semantic roles & 50–950 ramp

primary
#905BC7
secondary
#BFD5A9
accent
#D94F95
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #905BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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