#905AD2#905AD2

#905AD2 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.3% C 0.180 H 301.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#905AD2
RGBrgb(144, 90, 210)
HSLhsl(267, 57%, 59%)
HSVhsv(267, 57%, 82%)
CMYKcmyk(31.4%, 57.1%, 0%, 17.6%)
CIE-LABlab(49.37, 46.06, -53.96)
CIE-LCHlch(49.37, 70.94, 310.49°)
OKLaboklab(58.3% 0.0948 -0.1526)
OKLCHoklch(58.3% 0.18 301.9)
XYZxyz(26.7879, 17.8947, 63.0030)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905AD2 #9CD25A
analogous
#5A60D2 #905AD2 #CC5AD2
triadic
#905AD2 #D2905A #5AD290
tetradic
#905AD2 #D25A60 #9CD25A #5AD2CC
square
#905AD2 #D25A60 #9CD25A #5AD2CC
split-complementary
#905AD2 #D2CC5A #60D25A
monochromatic
#54268C #7133BC #905AD2 #B08ADF #D1BAEC

Accessibility & contrast

On white

4.59
#905AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#905AD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905AD2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905AD2#FFFFFF#000000##FFFFFF
##905AD21.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2475D6
Deuteranopia (green-blind)
#3B75CF
Tritanopia (blue-blind)
#83728D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905ad2;
/* rgb */ color: rgb(144, 90, 210);
/* oklch */ color: oklch(58.3% 0.180 301.9);
Tailwind
colors: {
  custom: {
    50: '#b48be0',
    500: '#905ad2',
    950: '#000000',
  },
}
SCSS
$custom: #905ad2;
$custom-light: #b48be0;
$custom-dark: #000000;
JSON
{
  "hex": "#905ad2",
  "rgb": {
    "r": 144,
    "g": 90,
    "b": 210
  },
  "hsl": {
    "h": 267,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58302,
    "c": 0.17967,
    "h": 301.9
  },
  "luminance": 0.17895
}

Semantic roles & 50–950 ramp

primary
#905AD2
secondary
#C6DCAC
accent
#E0479C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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