#905DEF#905DEF

#905DEF is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.7% C 0.210 H 295.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#905DEF
RGBrgb(144, 93, 239)
HSLhsl(261, 82%, 65%)
HSVhsv(261, 61%, 94%)
CMYKcmyk(39.7%, 61.1%, 0%, 6.3%)
CIE-LABlab(51.83, 51.79, -66.40)
CIE-LCHlch(51.83, 84.21, 307.96°)
OKLaboklab(60.69% 0.0905 -0.1892)
OKLCHoklch(60.69% 0.21 295.6)
XYZxyz(30.9919, 19.9893, 83.8701)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DEF #BCEF5D
analogous
#5D73EF #905DEF #D95DEF
triadic
#905DEF #EF905D #5DEF90
tetradic
#905DEF #EF5D73 #BCEF5D #5DEFD9
square
#905DEF #EF5D73 #BCEF5D #5DEFD9
split-complementary
#905DEF #EFD95D #73EF5D
monochromatic
#4F13BF #6A25E9 #905DEF #B695F5 #DCCCFA

Accessibility & contrast

On white

4.20
#905DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#905DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905DEF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DEF#FFFFFF#000000##000000
##905DEF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#787E9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #905def;
/* rgb */ color: rgb(144, 93, 239);
/* oklch */ color: oklch(60.7% 0.210 295.6);
Tailwind
colors: {
  custom: {
    50: '#b68df5',
    500: '#905def',
    950: '#000000',
  },
}
SCSS
$custom: #905def;
$custom-light: #b68df5;
$custom-dark: #000000;
JSON
{
  "hex": "#905def",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 260.959,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60687,
    "c": 0.20969,
    "h": 295.6
  },
  "luminance": 0.1999
}

Semantic roles & 50–950 ramp

primary
#905DEF
secondary
#DBEDBB
accent
#DE0793
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #905DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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