#905DBC#905DBC

#905DBC is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.4% C 0.149 H 307.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#905DBC
RGBrgb(144, 93, 188)
HSLhsl(272, 41%, 55%)
HSVhsv(272, 51%, 74%)
CMYKcmyk(23.4%, 50.5%, 0%, 26.3%)
CIE-LABlab(48.75, 39.09, -42.29)
CIE-LCHlch(48.75, 57.59, 312.75°)
OKLaboklab(57.44% 0.0897 -0.1185)
OKLCHoklch(57.44% 0.149 307.1)
XYZxyz(24.4912, 17.3891, 49.6334)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DBC #89BC5D
analogous
#615DBC #905DBC #BC5DB8
triadic
#905DBC #BC905D #5DBC90
tetradic
#905DBC #BC615D #89BC5D #5DB8BC
square
#905DBC #BC615D #89BC5D #5DB8BC
split-complementary
#905DBC #B8BC5D #5DBC61
monochromatic
#522E70 #71409B #905DBC #AE88CE #CBB4E0

Accessibility & contrast

On white

4.69
#905DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#905DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905DBC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DBC#FFFFFF#000000##FFFFFF
##905DBC1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4272BF
Deuteranopia (green-blind)
#5174BA
Tritanopia (blue-blind)
#896D84
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #905dbc;
/* rgb */ color: rgb(144, 93, 188);
/* oklch */ color: oklch(57.4% 0.149 307.1);
Tailwind
colors: {
  custom: {
    50: '#b38cd0',
    500: '#905dbc',
    950: '#000000',
  },
}
SCSS
$custom: #905dbc;
$custom-light: #b38cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#905dbc",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 188
  },
  "hsl": {
    "h": 272.211,
    "s": 41.485,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57438,
    "c": 0.14861,
    "h": 307.1
  },
  "luminance": 0.17389
}

Semantic roles & 50–950 ramp

primary
#905DBC
secondary
#B9CEA6
accent
#D1568F
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #905DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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