#905BDB#905BDB

#905BDB is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.0% C 0.189 H 299.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#905BDB
RGBrgb(144, 91, 219)
HSLhsl(265, 64%, 61%)
HSVhsv(265, 58%, 86%)
CMYKcmyk(34.2%, 58.4%, 0%, 14.1%)
CIE-LABlab(50.13, 47.76, -57.86)
CIE-LCHlch(50.13, 75.03, 309.54°)
OKLaboklab(59.04% 0.0936 -0.1641)
OKLCHoklch(59.04% 0.189 299.7)
XYZxyz(28.0258, 18.5257, 69.1034)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BDB #A6DB5B
analogous
#5B66DB #905BDB #D05BDB
triadic
#905BDB #DB905B #5BDB90
tetradic
#905BDB #DB5B66 #A6DB5B #5BDBD0
square
#905BDB #DB5B66 #A6DB5B #5BDBD0
split-complementary
#905BDB #DBD05B #66DB5B
monochromatic
#53229A #6F2DCC #905BDB #B28DE6 #D4BFF1

Accessibility & contrast

On white

4.46
#905BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#905BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BDB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BDB#FFFFFF#000000##000000
##905BDB1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1577DF
Deuteranopia (green-blind)
#3176D8
Tritanopia (blue-blind)
#807692
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905bdb;
/* rgb */ color: rgb(144, 91, 219);
/* oklch */ color: oklch(59.0% 0.189 299.7);
Tailwind
colors: {
  custom: {
    50: '#b58be7',
    500: '#905bdb',
    950: '#000000',
  },
}
SCSS
$custom: #905bdb;
$custom-light: #b58be7;
$custom-dark: #000000;
JSON
{
  "hex": "#905bdb",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 264.844,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59037,
    "c": 0.18888,
    "h": 299.7
  },
  "luminance": 0.18526
}

Semantic roles & 50–950 ramp

primary
#905BDB
secondary
#CDE1B1
accent
#CC1A82
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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