#905DE3#905DE3

#905DE3 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.9% C 0.196 H 297.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#905DE3
RGBrgb(144, 93, 227)
HSLhsl(263, 71%, 63%)
HSVhsv(263, 59%, 89%)
CMYKcmyk(36.6%, 59%, 0%, 11%)
CIE-LABlab(51.04, 48.71, -60.92)
CIE-LCHlch(51.04, 78.00, 308.65°)
OKLaboklab(59.87% 0.091 -0.1731)
OKLCHoklch(59.87% 0.196 297.7)
XYZxyz(29.2776, 19.3036, 74.8416)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DE3 #B0E35D
analogous
#5D6DE3 #905DE3 #D35DE3
triadic
#905DE3 #E3905D #5DE390
tetradic
#905DE3 #E35D6D #B0E35D #5DE3D3
square
#905DE3 #E35D6D #B0E35D #5DE3D3
split-complementary
#905DE3 #E3D35D #6DE35D
monochromatic
#521DA8 #6C29DA #905DE3 #B491EC #D8C5F5

Accessibility & contrast

On white

4.32
#905DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#905DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905DE3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DE3#FFFFFF#000000##000000
##905DE31.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#017AE7
Deuteranopia (green-blind)
#2878E0
Tritanopia (blue-blind)
#7D7A97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #905de3;
/* rgb */ color: rgb(144, 93, 227);
/* oklch */ color: oklch(59.9% 0.196 297.7);
Tailwind
colors: {
  custom: {
    50: '#b58ded',
    500: '#905de3',
    950: '#000000',
  },
}
SCSS
$custom: #905de3;
$custom-light: #b58ded;
$custom-dark: #000000;
JSON
{
  "hex": "#905de3",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 227
  },
  "hsl": {
    "h": 262.836,
    "s": 70.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59866,
    "c": 0.19554,
    "h": 297.7
  },
  "luminance": 0.19304
}

Semantic roles & 50–950 ramp

primary
#905DE3
secondary
#D4E6B6
accent
#D3138A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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