#9456DF#9456DF

#9456DF is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.201 H 301.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9456DF
RGBrgb(148, 86, 223)
HSLhsl(267, 68%, 61%)
HSVhsv(267, 61%, 87%)
CMYKcmyk(33.6%, 61.4%, 0%, 12.5%)
CIE-LABlab(49.83, 52.29, -60.58)
CIE-LCHlch(49.83, 80.03, 310.80°)
OKLaboklab(59% 0.1045 -0.1719)
OKLCHoklch(59% 0.201 301.3)
XYZxyz(28.8566, 18.2791, 71.8057)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9456DF #A1DF56
analogous
#565CDF #9456DF #D856DF
triadic
#9456DF #DF9456 #56DF94
tetradic
#9456DF #DF565C #A1DF56 #56DFD8
square
#9456DF #DF565C #A1DF56 #56DFD8
split-complementary
#9456DF #DFD856 #5CDF56
monochromatic
#571E9D #7427D0 #9456DF #B589E9 #D5BDF2

Accessibility & contrast

On white

4.51
#9456DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9456DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9456DF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9456DF#FFFFFF#000000##000000
##9456DF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#2776DC
Tritanopia (blue-blind)
#857393
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9456df;
/* rgb */ color: rgb(148, 86, 223);
/* oklch */ color: oklch(59.0% 0.201 301.3);
Tailwind
colors: {
  custom: {
    50: '#b889ea',
    500: '#9456df',
    950: '#000000',
  },
}
SCSS
$custom: #9456df;
$custom-light: #b889ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9456df",
  "rgb": {
    "r": 148,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 267.153,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59002,
    "c": 0.2012,
    "h": 301.3
  },
  "luminance": 0.18279
}

Semantic roles & 50–950 ramp

primary
#9456DF
secondary
#CBE2AE
accent
#D0157C
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9456DF

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

Preview Lab → · Contrast checker → · Palette generator →

#9456DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva