#905BDE#905BDE

#905BDE is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.2% C 0.192 H 299.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#905BDE
RGBrgb(144, 91, 222)
HSLhsl(264, 66%, 61%)
HSVhsv(264, 59%, 87%)
CMYKcmyk(35.1%, 59%, 0%, 12.9%)
CIE-LABlab(50.32, 48.52, -59.26)
CIE-LCHlch(50.32, 76.59, 309.31°)
OKLaboklab(59.24% 0.0935 -0.1682)
OKLCHoklch(59.24% 0.192 299.1)
XYZxyz(28.4243, 18.6851, 71.2021)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BDE #A9DE5B
analogous
#5B68DE #905BDE #D25BDE
triadic
#905BDE #DE905B #5BDE90
tetradic
#905BDE #DE5B68 #A9DE5B #5BDED2
square
#905BDE #DE5B68 #A9DE5B #5BDED2
split-complementary
#905BDE #DED25B #68DE5B
monochromatic
#53209F #6E2AD2 #905BDE #B28EE8 #D5C1F3

Accessibility & contrast

On white

4.43
#905BDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#905BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BDE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BDE#FFFFFF#000000##000000
##905BDE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A78E2
Deuteranopia (green-blind)
#2D77DB
Tritanopia (blue-blind)
#7F7794
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #905bde;
/* rgb */ color: rgb(144, 91, 222);
/* oklch */ color: oklch(59.2% 0.192 299.1);
Tailwind
colors: {
  custom: {
    50: '#b58ce9',
    500: '#905bde',
    950: '#000000',
  },
}
SCSS
$custom: #905bde;
$custom-light: #b58ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#905bde",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 222
  },
  "hsl": {
    "h": 264.275,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59235,
    "c": 0.19243,
    "h": 299.1
  },
  "luminance": 0.18685
}

Semantic roles & 50–950 ramp

primary
#905BDE
secondary
#CFE3B2
accent
#CE1784
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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