#9456DD#9456DD

#9456DD is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.9% C 0.199 H 301.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9456DD
RGBrgb(148, 86, 221)
HSLhsl(268, 67%, 60%)
HSVhsv(268, 61%, 87%)
CMYKcmyk(33%, 61.1%, 0%, 13.3%)
CIE-LABlab(49.70, 51.80, -59.65)
CIE-LCHlch(49.70, 79.01, 310.97°)
OKLaboklab(58.87% 0.1046 -0.1692)
OKLCHoklch(58.87% 0.199 301.7)
XYZxyz(28.5886, 18.1718, 70.3940)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9456DD #9FDD56
analogous
#565BDD #9456DD #D856DD
triadic
#9456DD #DD9456 #56DD94
tetradic
#9456DD #DD565B #9FDD56 #56DDD8
square
#9456DD #DD565B #9FDD56 #56DDD8
split-complementary
#9456DD #DDD856 #5BDD56
monochromatic
#571F9A #7429CD #9456DD #B489E7 #D5BCF2

Accessibility & contrast

On white

4.53
#9456DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9456DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9456DD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9456DD#FFFFFF#000000##000000
##9456DD1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#2B76DA
Tritanopia (blue-blind)
#857392
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9456dd;
/* rgb */ color: rgb(148, 86, 221);
/* oklch */ color: oklch(58.9% 0.199 301.7);
Tailwind
colors: {
  custom: {
    50: '#b889e8',
    500: '#9456dd',
    950: '#000000',
  },
}
SCSS
$custom: #9456dd;
$custom-light: #b889e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9456dd",
  "rgb": {
    "r": 148,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 267.556,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58868,
    "c": 0.19894,
    "h": 301.7
  },
  "luminance": 0.18172
}

Semantic roles & 50–950 ramp

primary
#9456DD
secondary
#CAE1AE
accent
#CE177A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9456DD

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

Preview Lab → · Contrast checker → · Palette generator →

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