#9456DC#9456DC

#9456DC is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.8% C 0.198 H 301.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9456DC
RGBrgb(148, 86, 220)
HSLhsl(268, 66%, 60%)
HSVhsv(268, 61%, 86%)
CMYKcmyk(32.7%, 60.9%, 0%, 13.7%)
CIE-LABlab(49.64, 51.56, -59.19)
CIE-LCHlch(49.64, 78.50, 311.06°)
OKLaboklab(58.8% 0.1047 -0.1678)
OKLCHoklch(58.8% 0.198 301.9)
XYZxyz(28.4558, 18.1187, 69.6944)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9456DC #9EDC56
analogous
#565BDC #9456DC #D756DC
triadic
#9456DC #DC9456 #56DC94
tetradic
#9456DC #DC565B #9EDC56 #56DCD7
square
#9456DC #DC565B #9EDC56 #56DCD7
split-complementary
#9456DC #DCD756 #5BDC56
monochromatic
#572098 #742ACB #9456DC #B489E6 #D4BBF1

Accessibility & contrast

On white

4.54
#9456DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9456DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9456DC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9456DC#FFFFFF#000000##000000
##9456DC1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#2D75D9
Tritanopia (blue-blind)
#867291
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9456dc;
/* rgb */ color: rgb(148, 86, 220);
/* oklch */ color: oklch(58.8% 0.198 301.9);
Tailwind
colors: {
  custom: {
    50: '#b889e8',
    500: '#9456dc',
    950: '#000000',
  },
}
SCSS
$custom: #9456dc;
$custom-light: #b889e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9456dc",
  "rgb": {
    "r": 148,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 267.761,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.58801,
    "c": 0.1978,
    "h": 301.9
  },
  "luminance": 0.18119
}

Semantic roles & 50–950 ramp

primary
#9456DC
secondary
#C9E1AD
accent
#E93F9A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9456DC

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

Preview Lab → · Contrast checker → · Palette generator →

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