#9456CF#9456CF

#9456CF is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.0% C 0.183 H 305.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9456CF
RGBrgb(148, 86, 207)
HSLhsl(271, 56%, 57%)
HSVhsv(271, 58%, 81%)
CMYKcmyk(28.5%, 58.5%, 0%, 18.8%)
CIE-LABlab(48.83, 48.43, -53.08)
CIE-LCHlch(48.83, 71.85, 312.38°)
OKLaboklab(57.95% 0.1049 -0.1499)
OKLCHoklch(57.95% 0.183 305)
XYZxyz(26.8006, 17.4566, 60.9770)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9456CF #91CF56
analogous
#5856CF #9456CF #CF56CD
triadic
#9456CF #CF9456 #56CF94
tetradic
#9456CF #CF5856 #91CF56 #56CDCF
square
#9456CF #CF5856 #91CF56 #56CDCF
split-complementary
#9456CF #CDCF56 #56CF58
monochromatic
#562685 #7633B5 #9456CF #B286DD #D0B5EA

Accessibility & contrast

On white

4.68
#9456CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9456CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9456CF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9456CF#FFFFFF#000000##FFFFFF
##9456CF1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2172D3
Deuteranopia (green-blind)
#3D74CC
Tritanopia (blue-blind)
#8A6E8A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9456cf;
/* rgb */ color: rgb(148, 86, 207);
/* oklch */ color: oklch(58.0% 0.183 305.0);
Tailwind
colors: {
  custom: {
    50: '#b788de',
    500: '#9456cf',
    950: '#000000',
  },
}
SCSS
$custom: #9456cf;
$custom-light: #b788de;
$custom-dark: #000000;
JSON
{
  "hex": "#9456cf",
  "rgb": {
    "r": 148,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 270.744,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57951,
    "c": 0.18298,
    "h": 305
  },
  "luminance": 0.17456
}

Semantic roles & 50–950 ramp

primary
#9456CF
secondary
#C0D9A8
accent
#DF4992
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9456CF

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

Preview Lab → · Contrast checker → · Palette generator →

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