#905BD7#905BD7

#905BD7 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.8% C 0.184 H 300.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#905BD7
RGBrgb(144, 91, 215)
HSLhsl(266, 61%, 60%)
HSVhsv(266, 58%, 84%)
CMYKcmyk(33%, 57.7%, 0%, 15.7%)
CIE-LABlab(49.88, 46.76, -55.99)
CIE-LCHlch(49.88, 72.95, 309.87°)
OKLaboklab(58.78% 0.0936 -0.1586)
OKLCHoklch(58.78% 0.184 300.6)
XYZxyz(27.5055, 18.3176, 66.3634)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BD7 #A2D75B
analogous
#5B64D7 #905BD7 #CE5BD7
triadic
#905BD7 #D7905B #5BD790
tetradic
#905BD7 #D75B64 #A2D75B #5BD7CE
square
#905BD7 #D75B64 #A2D75B #5BD7CE
split-complementary
#905BD7 #D7CE5B #64D75B
monochromatic
#542494 #7030C5 #905BD7 #B18CE3 #D3BDEF

Accessibility & contrast

On white

4.50
#905BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#905BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BD7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BD7#FFFFFF#000000##000000
##905BD71.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F76DB
Deuteranopia (green-blind)
#3776D4
Tritanopia (blue-blind)
#817490
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905bd7;
/* rgb */ color: rgb(144, 91, 215);
/* oklch */ color: oklch(58.8% 0.184 300.6);
Tailwind
colors: {
  custom: {
    50: '#b58be4',
    500: '#905bd7',
    950: '#000000',
  },
}
SCSS
$custom: #905bd7;
$custom-light: #b58be4;
$custom-dark: #000000;
JSON
{
  "hex": "#905bd7",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 215
  },
  "hsl": {
    "h": 265.645,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.58775,
    "c": 0.18413,
    "h": 300.6
  },
  "luminance": 0.18318
}

Semantic roles & 50–950 ramp

primary
#905BD7
secondary
#CADFAF
accent
#E444A0
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #905BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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