#905DB3#905DB3

#905DB3 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.9% C 0.138 H 310.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#905DB3
RGBrgb(144, 93, 179)
HSLhsl(276, 36%, 53%)
HSVhsv(276, 48%, 70%)
CMYKcmyk(19.6%, 48%, 0%, 29.8%)
CIE-LABlab(48.28, 36.99, -37.80)
CIE-LCHlch(48.28, 52.89, 314.38°)
OKLaboklab(56.94% 0.0886 -0.1054)
OKLCHoklch(56.94% 0.138 310.1)
XYZxyz(23.5511, 17.0130, 44.6823)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DB3 #80B35D
analogous
#655DB3 #905DB3 #B35DAB
triadic
#905DB3 #B3905D #5DB390
tetradic
#905DB3 #B3655D #80B35D #5DABB3
square
#905DB3 #B3655D #80B35D #5DABB3
split-complementary
#905DB3 #ABB35D #5DB365
monochromatic
#503066 #70438F #905DB3 #AD87C7 #C9B0DA

Accessibility & contrast

On white

4.77
#905DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#905DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905DB3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DB3#FFFFFF#000000##FFFFFF
##905DB31.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4870B6
Deuteranopia (green-blind)
#5674B1
Tritanopia (blue-blind)
#8C6B7F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #905db3;
/* rgb */ color: rgb(144, 93, 179);
/* oklch */ color: oklch(56.9% 0.138 310.1);
Tailwind
colors: {
  custom: {
    50: '#b28cca',
    500: '#905db3',
    950: '#000000',
  },
}
SCSS
$custom: #905db3;
$custom-light: #b28cca;
$custom-dark: #000000;
JSON
{
  "hex": "#905db3",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 179
  },
  "hsl": {
    "h": 275.581,
    "s": 36.134,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56935,
    "c": 0.13774,
    "h": 310.1
  },
  "luminance": 0.17013
}

Semantic roles & 50–950 ramp

primary
#905DB3
secondary
#B2C8A3
accent
#CC5C89
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #905DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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