#905DBB#905DBB

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

Color values

HEX#905DBB
RGBrgb(144, 93, 187)
HSLhsl(273, 41%, 55%)
HSVhsv(273, 50%, 73%)
CMYKcmyk(23%, 50.3%, 0%, 26.7%)
CIE-LABlab(48.69, 38.86, -41.80)
CIE-LCHlch(48.69, 57.07, 312.91°)
OKLaboklab(57.38% 0.0896 -0.117)
OKLCHoklch(57.38% 0.147 307.4)
XYZxyz(24.3838, 17.3461, 49.0677)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DBB #88BB5D
analogous
#615DBB #905DBB #BB5DB7
triadic
#905DBB #BB905D #5DBB90
tetradic
#905DBB #BB615D #88BB5D #5DB7BB
square
#905DBB #BB615D #88BB5D #5DB7BB
split-complementary
#905DBB #B7BB5D #5DBB61
monochromatic
#522F6F #71419A #905DBB #AE88CD #CBB3DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##905DBB#FFFFFF#000000##FFFFFF
##905DBB1.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)
#4372BE
Deuteranopia (green-blind)
#5274B9
Tritanopia (blue-blind)
#8A6D83
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #905dbb;
/* rgb */ color: rgb(144, 93, 187);
/* oklch */ color: oklch(57.4% 0.147 307.4);
Tailwind
colors: {
  custom: {
    50: '#b38cd0',
    500: '#905dbb',
    950: '#000000',
  },
}
SCSS
$custom: #905dbb;
$custom-light: #b38cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#905dbb",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 187
  },
  "hsl": {
    "h": 272.553,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57381,
    "c": 0.14739,
    "h": 307.4
  },
  "luminance": 0.17346
}

Semantic roles & 50–950 ramp

primary
#905DBB
secondary
#B8CEA6
accent
#D1578F
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #905DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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