#905BC1#905BC1

#905BC1 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.4% C 0.158 H 306.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#905BC1
RGBrgb(144, 91, 193)
HSLhsl(271, 45%, 56%)
HSVhsv(271, 53%, 76%)
CMYKcmyk(25.4%, 52.8%, 0%, 24.3%)
CIE-LABlab(48.59, 41.39, -45.43)
CIE-LCHlch(48.59, 61.46, 312.33°)
OKLaboklab(57.41% 0.0929 -0.1277)
OKLCHoklch(57.41% 0.158 306)
XYZxyz(24.8663, 17.2619, 52.4636)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BC1 #8CC15B
analogous
#5D5BC1 #905BC1 #C15BBF
triadic
#905BC1 #C1905B #5BC190
tetradic
#905BC1 #C15D5B #8CC15B #5BBFC1
square
#905BC1 #C15D5B #8CC15B #5BBFC1
split-complementary
#905BC1 #BFC15B #5BC15D
monochromatic
#522C75 #713DA2 #905BC1 #AE87D2 #CCB4E3

Accessibility & contrast

On white

4.72
#905BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#905BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905BC1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BC1#FFFFFF#000000##FFFFFF
##905BC11.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B72C4
Deuteranopia (green-blind)
#4B74BE
Tritanopia (blue-blind)
#886D85
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #905bc1;
/* rgb */ color: rgb(144, 91, 193);
/* oklch */ color: oklch(57.4% 0.158 306.0);
Tailwind
colors: {
  custom: {
    50: '#b38bd4',
    500: '#905bc1',
    950: '#000000',
  },
}
SCSS
$custom: #905bc1;
$custom-light: #b38bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#905bc1",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 193
  },
  "hsl": {
    "h": 271.176,
    "s": 45.133,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57409,
    "c": 0.15785,
    "h": 306
  },
  "luminance": 0.17262
}

Semantic roles & 50–950 ramp

primary
#905BC1
secondary
#BBD1A7
accent
#D55391
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #905BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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