#905CDE#905CDE

#905CDE is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.191 H 298.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#905CDE
RGBrgb(144, 92, 222)
HSLhsl(264, 66%, 62%)
HSVhsv(264, 59%, 87%)
CMYKcmyk(35.1%, 58.6%, 0%, 12.9%)
CIE-LABlab(50.52, 47.98, -58.93)
CIE-LCHlch(50.52, 75.99, 309.15°)
OKLaboklab(59.38% 0.0923 -0.1672)
OKLCHoklch(59.38% 0.191 298.9)
XYZxyz(28.5103, 18.8572, 71.2308)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CDE #AADE5C
analogous
#5C69DE #905CDE #D15CDE
triadic
#905CDE #DE905C #5CDE90
tetradic
#905CDE #DE5C69 #AADE5C #5CDED1
square
#905CDE #DE5C69 #AADE5C #5CDED1
split-complementary
#905CDE #DED15C #69DE5C
monochromatic
#53209F #6E2BD2 #905CDE #B38FE8 #D5C2F3

Accessibility & contrast

On white

4.40
#905CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#905CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CDE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CDE#FFFFFF#000000##000000
##905CDE1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1178E2
Deuteranopia (green-blind)
#2F77DB
Tritanopia (blue-blind)
#7F7794
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #905cde;
/* rgb */ color: rgb(144, 92, 222);
/* oklch */ color: oklch(59.4% 0.191 298.9);
Tailwind
colors: {
  custom: {
    50: '#b58ce9',
    500: '#905cde',
    950: '#000000',
  },
}
SCSS
$custom: #905cde;
$custom-light: #b58ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#905cde",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 222
  },
  "hsl": {
    "h": 264,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59384,
    "c": 0.19101,
    "h": 298.9
  },
  "luminance": 0.18858
}

Semantic roles & 50–950 ramp

primary
#905CDE
secondary
#D0E3B3
accent
#CE1785
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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