#905ED7#905ED7

#905ED7 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.2% C 0.180 H 300.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#905ED7
RGBrgb(144, 94, 215)
HSLhsl(265, 60%, 61%)
HSVhsv(265, 56%, 84%)
CMYKcmyk(33%, 56.3%, 0%, 15.7%)
CIE-LABlab(50.50, 45.13, -54.99)
CIE-LCHlch(50.50, 71.14, 309.37°)
OKLaboklab(59.23% 0.0899 -0.1556)
OKLCHoklch(59.23% 0.18 300)
XYZxyz(27.7671, 18.8408, 66.4506)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905ED7 #A5D75E
analogous
#5E68D7 #905ED7 #CC5ED7
triadic
#905ED7 #D7905E #5ED790
tetradic
#905ED7 #D75E68 #A5D75E #5ED7CC
square
#905ED7 #D75E68 #A5D75E #5ED7CC
split-complementary
#905ED7 #D7CC5E #68D75E
monochromatic
#542595 #6F31C6 #905ED7 #B28FE3 #D4C0EF

Accessibility & contrast

On white

4.40
#905ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#905ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905ED7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905ED7#FFFFFF#000000##000000
##905ED71.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2878DB
Deuteranopia (green-blind)
#3B77D4
Tritanopia (blue-blind)
#817691
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #905ed7;
/* rgb */ color: rgb(144, 94, 215);
/* oklch */ color: oklch(59.2% 0.180 300.0);
Tailwind
colors: {
  custom: {
    50: '#b48de4',
    500: '#905ed7',
    950: '#000000',
  },
}
SCSS
$custom: #905ed7;
$custom-light: #b48de4;
$custom-dark: #000000;
JSON
{
  "hex": "#905ed7",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 215
  },
  "hsl": {
    "h": 264.793,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59231,
    "c": 0.17975,
    "h": 300
  },
  "luminance": 0.18841
}

Semantic roles & 50–950 ramp

primary
#905ED7
secondary
#CCDFB1
accent
#C81E82
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #905ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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