#905DE6#905DE6

#905DE6 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.1% C 0.199 H 297.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#905DE6
RGBrgb(144, 93, 230)
HSLhsl(262, 73%, 63%)
HSVhsv(262, 60%, 90%)
CMYKcmyk(37.4%, 59.6%, 0%, 9.8%)
CIE-LABlab(51.23, 49.48, -62.30)
CIE-LCHlch(51.23, 79.55, 308.46°)
OKLaboklab(60.07% 0.0909 -0.1771)
OKLCHoklch(60.07% 0.199 297.2)
XYZxyz(29.6952, 19.4707, 77.0413)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DE6 #B3E65D
analogous
#5D6EE6 #905DE6 #D55DE6
triadic
#905DE6 #E6905D #5DE690
tetradic
#905DE6 #E65D6E #B3E65D #5DE6D5
square
#905DE6 #E65D6E #B3E65D #5DE6D5
split-complementary
#905DE6 #E6D55D #6EE65D
monochromatic
#521BAE #6C28DE #905DE6 #B492EE #D9C7F6

Accessibility & contrast

On white

4.29
#905DE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#905DE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905DE6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DE6#FFFFFF#000000##000000
##905DE61.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#2278E3
Tritanopia (blue-blind)
#7C7B99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #905de6;
/* rgb */ color: rgb(144, 93, 230);
/* oklch */ color: oklch(60.1% 0.199 297.2);
Tailwind
colors: {
  custom: {
    50: '#b68def',
    500: '#905de6',
    950: '#000000',
  },
}
SCSS
$custom: #905de6;
$custom-light: #b68def;
$custom-dark: #000000;
JSON
{
  "hex": "#905de6",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 230
  },
  "hsl": {
    "h": 262.336,
    "s": 73.262,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60068,
    "c": 0.1991,
    "h": 297.2
  },
  "luminance": 0.19471
}

Semantic roles & 50–950 ramp

primary
#905DE6
secondary
#D6E8B7
accent
#D5108C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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