#9D5CF3#9D5CF3

#9D5CF3 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.1% C 0.217 H 299.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9D5CF3
RGBrgb(157, 92, 243)
HSLhsl(266, 86%, 66%)
HSVhsv(266, 62%, 95%)
CMYKcmyk(35.4%, 62.1%, 0%, 4.7%)
CIE-LABlab(53.27, 56.03, -66.23)
CIE-LCHlch(53.27, 86.75, 310.23°)
OKLaboklab(62.13% 0.1082 -0.1883)
OKLCHoklch(62.13% 0.217 299.9)
XYZxyz(33.9055, 21.2932, 87.1003)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5CF3 #B2F35C
analogous
#5C66F3 #9D5CF3 #E95CF3
triadic
#9D5CF3 #F39D5C #5CF39D
tetradic
#9D5CF3 #F35C66 #B2F35C #5CF3E9
square
#9D5CF3 #F35C66 #B2F35C #5CF3E9
split-complementary
#9D5CF3 #F3E95C #66F35C
monochromatic
#5E0FC6 #7B23EF #9D5CF3 #BF95F7 #E2CEFB

Accessibility & contrast

On white

3.99
#9D5CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9D5CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5CF3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5CF3#FFFFFF#000000##000000
##9D5CF31.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF8
Deuteranopia (green-blind)
#1C7EF0
Tritanopia (blue-blind)
#8A7D9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9d5cf3;
/* rgb */ color: rgb(157, 92, 243);
/* oklch */ color: oklch(62.1% 0.217 299.9);
Tailwind
colors: {
  custom: {
    50: '#bf8df8',
    500: '#9d5cf3',
    950: '#000000',
  },
}
SCSS
$custom: #9d5cf3;
$custom-light: #bf8df8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5cf3",
  "rgb": {
    "r": 157,
    "g": 92,
    "b": 243
  },
  "hsl": {
    "h": 265.828,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62133,
    "c": 0.21716,
    "h": 299.9
  },
  "luminance": 0.21293
}

Semantic roles & 50–950 ramp

primary
#9D5CF3
secondary
#D9EFBC
accent
#E30382
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D5CF3

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

Preview Lab → · Contrast checker → · Palette generator →

#9D5CF3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva