#905BCA#905BCA

#905BCA is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.0% C 0.169 H 303.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#905BCA
RGBrgb(144, 91, 202)
HSLhsl(269, 51%, 57%)
HSVhsv(269, 55%, 79%)
CMYKcmyk(28.7%, 55%, 0%, 20.8%)
CIE-LABlab(49.10, 43.56, -49.80)
CIE-LCHlch(49.10, 66.16, 311.17°)
OKLaboklab(57.95% 0.0934 -0.1404)
OKLCHoklch(57.95% 0.169 303.6)
XYZxyz(25.9010, 17.6758, 57.9129)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BCA #95CA5B
analogous
#5B5DCA #905BCA #C85BCA
triadic
#905BCA #CA905B #5BCA90
tetradic
#905BCA #CA5B5D #95CA5B #5BCAC8
square
#905BCA #CA5B5D #95CA5B #5BCAC8
split-complementary
#905BCA #CAC85B #5DCA5B
monochromatic
#532A81 #7139AF #905BCA #AF89D9 #CFB8E8

Accessibility & contrast

On white

4.63
#905BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#905BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905BCA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BCA#FFFFFF#000000##FFFFFF
##905BCA1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3273CE
Deuteranopia (green-blind)
#4475C7
Tritanopia (blue-blind)
#86708A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905bca;
/* rgb */ color: rgb(144, 91, 202);
/* oklch */ color: oklch(58.0% 0.169 303.6);
Tailwind
colors: {
  custom: {
    50: '#b48bdb',
    500: '#905bca',
    950: '#000000',
  },
}
SCSS
$custom: #905bca;
$custom-light: #b48bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#905bca",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 268.649,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57953,
    "c": 0.16863,
    "h": 303.6
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#905BCA
secondary
#C1D7AA
accent
#DB4D97
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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