#905BD4#905BD4

#905BD4 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.181 H 301.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#905BD4
RGBrgb(144, 91, 212)
HSLhsl(266, 58%, 59%)
HSVhsv(266, 57%, 83%)
CMYKcmyk(32.1%, 57.1%, 0%, 16.9%)
CIE-LABlab(49.70, 46.01, -54.57)
CIE-LCHlch(49.70, 71.38, 310.14°)
OKLaboklab(58.58% 0.0936 -0.1544)
OKLCHoklch(58.58% 0.181 301.2)
XYZxyz(27.1236, 18.1648, 64.3518)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BD4 #9FD45B
analogous
#5B63D4 #905BD4 #CD5BD4
triadic
#905BD4 #D4905B #5BD490
tetradic
#905BD4 #D45B63 #9FD45B #5BD4CD
square
#905BD4 #D45B63 #9FD45B #5BD4CD
split-complementary
#905BD4 #D4CD5B #63D45B
monochromatic
#54268F #7032C0 #905BD4 #B18BE1 #D2BCED

Accessibility & contrast

On white

4.53
#905BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#905BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BD4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BD4#FFFFFF#000000##000000
##905BD41.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2475D8
Deuteranopia (green-blind)
#3A76D1
Tritanopia (blue-blind)
#82738F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905bd4;
/* rgb */ color: rgb(144, 91, 212);
/* oklch */ color: oklch(58.6% 0.181 301.2);
Tailwind
colors: {
  custom: {
    50: '#b48be2',
    500: '#905bd4',
    950: '#000000',
  },
}
SCSS
$custom: #905bd4;
$custom-light: #b48be2;
$custom-dark: #000000;
JSON
{
  "hex": "#905bd4",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 212
  },
  "hsl": {
    "h": 266.281,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58581,
    "c": 0.18057,
    "h": 301.2
  },
  "luminance": 0.18165
}

Semantic roles & 50–950 ramp

primary
#905BD4
secondary
#C8DDAE
accent
#E2469E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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