#905FDD#905FDD

#905FDD is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.8% C 0.186 H 298.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#905FDD
RGBrgb(144, 95, 221)
HSLhsl(263, 65%, 62%)
HSVhsv(263, 57%, 87%)
CMYKcmyk(34.8%, 57%, 0%, 13.3%)
CIE-LABlab(51.08, 46.10, -57.47)
CIE-LCHlch(51.08, 73.67, 308.73°)
OKLaboklab(59.77% 0.0887 -0.1629)
OKLCHoklch(59.77% 0.186 298.6)
XYZxyz(28.6417, 19.3338, 70.6154)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FDD #ACDD5F
analogous
#5F6DDD #905FDD #CF5FDD
triadic
#905FDD #DD905F #5FDD90
tetradic
#905FDD #DD5F6D #ACDD5F #5FDDCF
square
#905FDD #DD5F6D #ACDD5F #5FDDCF
split-complementary
#905FDD #DDCF5F #6DDD5F
monochromatic
#5322A0 #6D2DD2 #905FDD #B391E8 #D6C4F2

Accessibility & contrast

On white

4.31
#905FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#905FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FDD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FDD#FFFFFF#000000##000000
##905FDD1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#207AE1
Deuteranopia (green-blind)
#3578DA
Tritanopia (blue-blind)
#7F7995
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #905fdd;
/* rgb */ color: rgb(144, 95, 221);
/* oklch */ color: oklch(59.8% 0.186 298.6);
Tailwind
colors: {
  custom: {
    50: '#b58ee8',
    500: '#905fdd',
    950: '#000000',
  },
}
SCSS
$custom: #905fdd;
$custom-light: #b58ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#905fdd",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 263.333,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59771,
    "c": 0.18552,
    "h": 298.6
  },
  "luminance": 0.19334
}

Semantic roles & 50–950 ramp

primary
#905FDD
secondary
#D1E3B5
accent
#CD1987
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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