#9456CD#9456CD

#9456CD is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.8% C 0.181 H 305.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9456CD
RGBrgb(148, 86, 205)
HSLhsl(271, 54%, 57%)
HSVhsv(271, 58%, 80%)
CMYKcmyk(27.8%, 58%, 0%, 19.6%)
CIE-LABlab(48.71, 47.96, -52.12)
CIE-LCHlch(48.71, 70.83, 312.62°)
OKLaboklab(57.83% 0.1049 -0.1471)
OKLCHoklch(57.83% 0.181 305.5)
XYZxyz(26.5576, 17.3594, 59.6974)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9456CD #8FCD56
analogous
#5956CD #9456CD #CD56CA
triadic
#9456CD #CD9456 #56CD94
tetradic
#9456CD #CD5956 #8FCD56 #56CACD
square
#9456CD #CD5956 #8FCD56 #56CACD
split-complementary
#9456CD #CACD56 #56CD59
monochromatic
#562682 #7634B1 #9456CD #B285DB #D0B4E9

Accessibility & contrast

On white

4.70
#9456CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9456CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9456CD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9456CD#FFFFFF#000000##FFFFFF
##9456CD1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2472D1
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#8A6D89
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9456cd;
/* rgb */ color: rgb(148, 86, 205);
/* oklch */ color: oklch(57.8% 0.181 305.5);
Tailwind
colors: {
  custom: {
    50: '#b788dd',
    500: '#9456cd',
    950: '#000000',
  },
}
SCSS
$custom: #9456cd;
$custom-light: #b788dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9456cd",
  "rgb": {
    "r": 148,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 271.261,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57825,
    "c": 0.1807,
    "h": 305.5
  },
  "luminance": 0.17359
}

Semantic roles & 50–950 ramp

primary
#9456CD
secondary
#BED8A7
accent
#DE4A91
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9456CD

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

Preview Lab → · Contrast checker → · Palette generator →

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