#905CBF#905CBF

#905CBF is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.5% C 0.154 H 306.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#905CBF
RGBrgb(144, 92, 191)
HSLhsl(272, 44%, 55%)
HSVhsv(272, 52%, 75%)
CMYKcmyk(24.6%, 51.8%, 0%, 25.1%)
CIE-LABlab(48.69, 40.36, -44.11)
CIE-LCHlch(48.69, 59.79, 312.46°)
OKLaboklab(57.45% 0.0914 -0.1238)
OKLCHoklch(57.45% 0.154 306.4)
XYZxyz(24.7308, 17.3454, 51.3253)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CBF #8BBF5C
analogous
#5E5CBF #905CBF #BF5CBC
triadic
#905CBF #BF905C #5CBF90
tetradic
#905CBF #BF5E5C #8BBF5C #5CBCBF
square
#905CBF #BF5E5C #8BBF5C #5CBCBF
split-complementary
#905CBF #BCBF5C #5CBF5E
monochromatic
#522D73 #713F9F #905CBF #AE88D0 #CCB4E2

Accessibility & contrast

On white

4.70
#905CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#905CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905CBF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CBF#FFFFFF#000000##FFFFFF
##905CBF1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C2
Deuteranopia (green-blind)
#4E74BD
Tritanopia (blue-blind)
#896E85
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #905cbf;
/* rgb */ color: rgb(144, 92, 191);
/* oklch */ color: oklch(57.5% 0.154 306.4);
Tailwind
colors: {
  custom: {
    50: '#b38cd3',
    500: '#905cbf',
    950: '#000000',
  },
}
SCSS
$custom: #905cbf;
$custom-light: #b38cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#905cbf",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 271.515,
    "s": 43.612,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5745,
    "c": 0.15385,
    "h": 306.4
  },
  "luminance": 0.17345
}

Semantic roles & 50–950 ramp

primary
#905CBF
secondary
#BAD0A7
accent
#D35491
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #905CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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