#905BCB#905BCB

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

Color values

HEX#905BCB
RGBrgb(144, 91, 203)
HSLhsl(268, 52%, 58%)
HSVhsv(268, 55%, 80%)
CMYKcmyk(29.1%, 55.2%, 0%, 20.4%)
CIE-LABlab(49.16, 43.80, -50.28)
CIE-LCHlch(49.16, 66.69, 311.06°)
OKLaboklab(58.01% 0.0934 -0.1418)
OKLCHoklch(58.01% 0.17 303.4)
XYZxyz(26.0198, 17.7233, 58.5385)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BCB #96CB5B
analogous
#5B5ECB #905BCB #C85BCB
triadic
#905BCB #CB905B #5BCB90
tetradic
#905BCB #CB5B5E #96CB5B #5BCBC8
square
#905BCB #CB5B5E #96CB5B #5BCBC8
split-complementary
#905BCB #CBC85B #5ECB5B
monochromatic
#532982 #7138B1 #905BCB #AF89DA #CFB8E8

Accessibility & contrast

On white

4.62
#905BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #905BCB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BCB#FFFFFF#000000##FFFFFF
##905BCB1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3174CF
Deuteranopia (green-blind)
#4375C8
Tritanopia (blue-blind)
#85718A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905bcb;
/* rgb */ color: rgb(144, 91, 203);
/* oklch */ color: oklch(58.0% 0.170 303.4);
Tailwind
colors: {
  custom: {
    50: '#b48bdb',
    500: '#905bcb',
    950: '#000000',
  },
}
SCSS
$custom: #905bcb;
$custom-light: #b48bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#905bcb",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 268.393,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58014,
    "c": 0.16983,
    "h": 303.4
  },
  "luminance": 0.17723
}

Semantic roles & 50–950 ramp

primary
#905BCB
secondary
#C2D7AA
accent
#DB4C98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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