#905FD7#905FD7

#905FD7 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.4% C 0.178 H 299.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#905FD7
RGBrgb(144, 95, 215)
HSLhsl(265, 60%, 61%)
HSVhsv(265, 56%, 84%)
CMYKcmyk(33%, 55.8%, 0%, 15.7%)
CIE-LABlab(50.71, 44.58, -54.65)
CIE-LCHlch(50.71, 70.53, 309.20°)
OKLaboklab(59.39% 0.0887 -0.1547)
OKLCHoklch(59.39% 0.178 299.8)
XYZxyz(27.8566, 19.0198, 66.4804)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FD7 #A6D75F
analogous
#5F6AD7 #905FD7 #CC5FD7
triadic
#905FD7 #D7905F #5FD790
tetradic
#905FD7 #D75F6A #A6D75F #5FD7CC
square
#905FD7 #D75F6A #A6D75F #5FD7CC
split-complementary
#905FD7 #D7CC5F #6AD75F
monochromatic
#532696 #6F32C7 #905FD7 #B290E3 #D4C1EF

Accessibility & contrast

On white

4.37
#905FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#905FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FD7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FD7#FFFFFF#000000##000000
##905FD71.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B78DB
Deuteranopia (green-blind)
#3D78D4
Tritanopia (blue-blind)
#817792
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #905fd7;
/* rgb */ color: rgb(144, 95, 215);
/* oklch */ color: oklch(59.4% 0.178 299.8);
Tailwind
colors: {
  custom: {
    50: '#b48ee4',
    500: '#905fd7',
    950: '#000000',
  },
}
SCSS
$custom: #905fd7;
$custom-light: #b48ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#905fd7",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 264.5,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59385,
    "c": 0.17827,
    "h": 299.8
  },
  "luminance": 0.1902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #905FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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