#905ED5#905ED5

#905ED5 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.1% C 0.177 H 300.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#905ED5
RGBrgb(144, 94, 213)
HSLhsl(265, 59%, 60%)
HSVhsv(265, 56%, 84%)
CMYKcmyk(32.4%, 55.9%, 0%, 16.5%)
CIE-LABlab(50.38, 44.63, -54.05)
CIE-LCHlch(50.38, 70.09, 309.55°)
OKLaboklab(59.1% 0.0899 -0.1529)
OKLCHoklch(59.1% 0.177 300.4)
XYZxyz(27.5117, 18.7386, 65.1054)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905ED5 #A3D55E
analogous
#5E67D5 #905ED5 #CB5ED5
triadic
#905ED5 #D5905E #5ED590
tetradic
#905ED5 #D55E67 #A3D55E #5ED5CB
square
#905ED5 #D55E67 #A3D55E #5ED5CB
split-complementary
#905ED5 #D5CB5E #67D55E
monochromatic
#542692 #6F33C3 #905ED5 #B18FE2 #D3BFEE

Accessibility & contrast

On white

4.42
#905ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#905ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905ED5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905ED5#FFFFFF#000000##000000
##905ED51.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B77D9
Deuteranopia (green-blind)
#3D77D2
Tritanopia (blue-blind)
#827690
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #905ed5;
/* rgb */ color: rgb(144, 94, 213);
/* oklch */ color: oklch(59.1% 0.177 300.4);
Tailwind
colors: {
  custom: {
    50: '#b48de2',
    500: '#905ed5',
    950: '#000000',
  },
}
SCSS
$custom: #905ed5;
$custom-light: #b48de2;
$custom-dark: #000000;
JSON
{
  "hex": "#905ed5",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 265.21,
    "s": 58.621,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59104,
    "c": 0.17734,
    "h": 300.4
  },
  "luminance": 0.18739
}

Semantic roles & 50–950 ramp

primary
#905ED5
secondary
#CBDEB1
accent
#C61F80
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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