#905DFD#905DFD

#905DFD is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.7% C 0.226 H 293.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#905DFD
RGBrgb(144, 93, 253)
HSLhsl(259, 98%, 68%)
HSVhsv(259, 63%, 99%)
CMYKcmyk(43.1%, 63.2%, 0%, 0.8%)
CIE-LABlab(52.78, 55.44, -72.64)
CIE-LCHlch(52.78, 91.38, 307.35°)
OKLaboklab(61.69% 0.0894 -0.2075)
OKLCHoklch(61.69% 0.226 293.3)
XYZxyz(33.1407, 20.8489, 95.1876)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DFD #CAFD5D
analogous
#5D7AFD #905DFD #E05DFD
triadic
#905DFD #FD905D #5DFD90
tetradic
#905DFD #FD5D7A #CAFD5D #5DFDE0
square
#905DFD #FD5D7A #CAFD5D #5DFDE0
split-complementary
#905DFD #FDE05D #7AFD5D
monochromatic
#4803DD #6721FC #905DFD #B999FE #E3D6FE

Accessibility & contrast

On white

4.06
#905DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#905DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905DFD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DFD#FFFFFF#000000##000000
##905DFD1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#007BFA
Tritanopia (blue-blind)
#7182A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #905dfd;
/* rgb */ color: rgb(144, 93, 253);
/* oklch */ color: oklch(61.7% 0.226 293.3);
Tailwind
colors: {
  custom: {
    50: '#b88dff',
    500: '#905dfd',
    950: '#000000',
  },
}
SCSS
$custom: #905dfd;
$custom-light: #b88dff;
$custom-dark: #000000;
JSON
{
  "hex": "#905dfd",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 253
  },
  "hsl": {
    "h": 259.125,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61685,
    "c": 0.22598,
    "h": 293.3
  },
  "luminance": 0.2085
}

Semantic roles & 50–950 ramp

primary
#905DFD
secondary
#E4F4C2
accent
#E6009C
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #905DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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