#905DE7#905DE7

#905DE7 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.1% C 0.200 H 297.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#905DE7
RGBrgb(144, 93, 231)
HSLhsl(262, 74%, 64%)
HSVhsv(262, 60%, 91%)
CMYKcmyk(37.7%, 59.7%, 0%, 9.4%)
CIE-LABlab(51.30, 49.73, -62.76)
CIE-LCHlch(51.30, 80.07, 308.40°)
OKLaboklab(60.14% 0.0909 -0.1785)
OKLCHoklch(60.14% 0.2 297)
XYZxyz(29.8361, 19.5270, 77.7830)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DE7 #B4E75D
analogous
#5D6FE7 #905DE7 #D55DE7
triadic
#905DE7 #E7905D #5DE790
tetradic
#905DE7 #E75D6F #B4E75D #5DE7D5
square
#905DE7 #E75D6F #B4E75D #5DE7D5
split-complementary
#905DE7 #E7D55D #6FE75D
monochromatic
#511AB0 #6B28DF #905DE7 #B592EF #D9C8F7

Accessibility & contrast

On white

4.28
#905DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#905DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905DE7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DE7#FFFFFF#000000##000000
##905DE71.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#2079E4
Tritanopia (blue-blind)
#7B7B99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #905de7;
/* rgb */ color: rgb(144, 93, 231);
/* oklch */ color: oklch(60.1% 0.200 297.0);
Tailwind
colors: {
  custom: {
    50: '#b68def',
    500: '#905de7',
    950: '#000000',
  },
}
SCSS
$custom: #905de7;
$custom-light: #b68def;
$custom-dark: #000000;
JSON
{
  "hex": "#905de7",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 262.174,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60136,
    "c": 0.20028,
    "h": 297
  },
  "luminance": 0.19528
}

Semantic roles & 50–950 ramp

primary
#905DE7
secondary
#D6E8B7
accent
#D60F8D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #905DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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