#905BDC#905BDC

#905BDC is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.190 H 299.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#905BDC
RGBrgb(144, 91, 220)
HSLhsl(265, 65%, 61%)
HSVhsv(265, 59%, 86%)
CMYKcmyk(34.5%, 58.6%, 0%, 13.7%)
CIE-LABlab(50.19, 48.01, -58.33)
CIE-LCHlch(50.19, 75.55, 309.46°)
OKLaboklab(59.1% 0.0935 -0.1654)
OKLCHoklch(59.1% 0.19 299.5)
XYZxyz(28.1578, 18.5785, 69.7988)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BDC #A7DC5B
analogous
#5B66DC #905BDC #D05BDC
triadic
#905BDC #DC905B #5BDC90
tetradic
#905BDC #DC5B66 #A7DC5B #5BDCD0
square
#905BDC #DC5B66 #A7DC5B #5BDCD0
split-complementary
#905BDC #DCD05B #66DC5B
monochromatic
#53219B #6E2CCE #905BDC #B28DE7 #D4C0F2

Accessibility & contrast

On white

4.45
#905BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#905BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BDC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BDC#FFFFFF#000000##000000
##905BDC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1277E0
Deuteranopia (green-blind)
#3076D9
Tritanopia (blue-blind)
#807693
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905bdc;
/* rgb */ color: rgb(144, 91, 220);
/* oklch */ color: oklch(59.1% 0.190 299.5);
Tailwind
colors: {
  custom: {
    50: '#b58be8',
    500: '#905bdc',
    950: '#000000',
  },
}
SCSS
$custom: #905bdc;
$custom-light: #b58be8;
$custom-dark: #000000;
JSON
{
  "hex": "#905bdc",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 220
  },
  "hsl": {
    "h": 264.651,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59103,
    "c": 0.19006,
    "h": 299.5
  },
  "luminance": 0.18579
}

Semantic roles & 50–950 ramp

primary
#905BDC
secondary
#CEE2B1
accent
#CD1983
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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