#905DFF#905DFF

#905DFF is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.8% C 0.228 H 293.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#905DFF
RGBrgb(144, 93, 255)
HSLhsl(259, 100%, 68%)
HSVhsv(259, 64%, 100%)
CMYKcmyk(43.5%, 63.5%, 0%, 0%)
CIE-LABlab(52.92, 55.96, -73.52)
CIE-LCHlch(52.92, 92.40, 307.28°)
OKLaboklab(61.83% 0.0892 -0.2101)
OKLCHoklch(61.83% 0.228 293)
XYZxyz(33.4610, 20.9770, 96.8743)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DFF #CCFF5D
analogous
#5D7BFF #905DFF #E15DFF
triadic
#905DFF #FF905D #5DFF90
tetradic
#905DFF #FF5D7B #CCFF5D #5DFFE1
square
#905DFF #FF5D7B #CCFF5D #5DFFE1
split-complementary
#905DFF #FFE15D #7BFF5D
monochromatic
#4700E2 #6620FF #905DFF #BA9AFF #E4D7FF

Accessibility & contrast

On white

4.04
#905DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#905DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905DFF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DFF#FFFFFF#000000##000000
##905DFF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#007BFC
Tritanopia (blue-blind)
#7083A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #905dff;
/* rgb */ color: rgb(144, 93, 255);
/* oklch */ color: oklch(61.8% 0.228 293.0);
Tailwind
colors: {
  custom: {
    50: '#b88eff',
    500: '#905dff',
    950: '#000000',
  },
}
SCSS
$custom: #905dff;
$custom-light: #b88eff;
$custom-dark: #000000;
JSON
{
  "hex": "#905dff",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 255
  },
  "hsl": {
    "h": 258.889,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61831,
    "c": 0.22829,
    "h": 293
  },
  "luminance": 0.20978
}

Semantic roles & 50–950 ramp

primary
#905DFF
secondary
#E5F4C3
accent
#E6009D
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #905DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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