#905DBE#905DBE

#905DBE is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.6% C 0.151 H 306.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#905DBE
RGBrgb(144, 93, 190)
HSLhsl(272, 43%, 55%)
HSVhsv(272, 51%, 75%)
CMYKcmyk(24.2%, 51.1%, 0%, 25.5%)
CIE-LABlab(48.85, 39.56, -43.28)
CIE-LCHlch(48.85, 58.64, 312.43°)
OKLaboklab(57.55% 0.0899 -0.1214)
OKLCHoklch(57.55% 0.151 306.5)
XYZxyz(24.7083, 17.4759, 50.7767)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DBE #8BBE5D
analogous
#5F5DBE #905DBE #BE5DBC
triadic
#905DBE #BE905D #5DBE90
tetradic
#905DBE #BE5F5D #8BBE5D #5DBCBE
square
#905DBE #BE5F5D #8BBE5D #5DBCBE
split-complementary
#905DBE #BCBE5D #5DBE5F
monochromatic
#522E73 #71409E #905DBE #AE89D0 #CCB4E1

Accessibility & contrast

On white

4.67
#905DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#905DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905DBE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DBE#FFFFFF#000000##FFFFFF
##905DBE1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4172C1
Deuteranopia (green-blind)
#5074BC
Tritanopia (blue-blind)
#896E85
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #905dbe;
/* rgb */ color: rgb(144, 93, 190);
/* oklch */ color: oklch(57.6% 0.151 306.5);
Tailwind
colors: {
  custom: {
    50: '#b38cd2',
    500: '#905dbe',
    950: '#000000',
  },
}
SCSS
$custom: #905dbe;
$custom-light: #b38cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#905dbe",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 190
  },
  "hsl": {
    "h": 271.546,
    "s": 42.731,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57553,
    "c": 0.15102,
    "h": 306.5
  },
  "luminance": 0.17476
}

Semantic roles & 50–950 ramp

primary
#905DBE
secondary
#BAD0A7
accent
#D35591
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #905DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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