#9D56F3#9D56F3

#9D56F3 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.3% C 0.225 H 300.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9D56F3
RGBrgb(157, 86, 243)
HSLhsl(267, 87%, 65%)
HSVhsv(267, 65%, 95%)
CMYKcmyk(35.4%, 64.6%, 0%, 4.7%)
CIE-LABlab(52.17, 59.03, -68.01)
CIE-LCHlch(52.17, 90.05, 310.96°)
OKLaboklab(61.34% 0.1148 -0.1935)
OKLCHoklch(61.34% 0.225 300.7)
XYZxyz(33.4062, 20.2945, 86.9339)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D56F3 #ACF356
analogous
#565EF3 #9D56F3 #EC56F3
triadic
#9D56F3 #F39D56 #56F39D
tetradic
#9D56F3 #F3565E #ACF356 #56F3EC
square
#9D56F3 #F3565E #ACF356 #56F3EC
split-complementary
#9D56F3 #F3EC56 #5EF356
monochromatic
#5F0EC1 #7C1DEF #9D56F3 #BE8FF7 #DFC8FB

Accessibility & contrast

On white

4.15
#9D56F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9D56F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D56F3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D56F3#FFFFFF#000000##000000
##9D56F31.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#8A799D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d56f3;
/* rgb */ color: rgb(157, 86, 243);
/* oklch */ color: oklch(61.3% 0.225 300.7);
Tailwind
colors: {
  custom: {
    50: '#bf8af8',
    500: '#9d56f3',
    950: '#000000',
  },
}
SCSS
$custom: #9d56f3;
$custom-light: #bf8af8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d56f3",
  "rgb": {
    "r": 157,
    "g": 86,
    "b": 243
  },
  "hsl": {
    "h": 267.134,
    "s": 86.74,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61338,
    "c": 0.22495,
    "h": 300.7
  },
  "luminance": 0.20295
}

Semantic roles & 50–950 ramp

primary
#9D56F3
secondary
#D5EDB7
accent
#E3027E
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D56F3

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

Preview Lab → · Contrast checker → · Palette generator →

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