#9456DB#9456DB

#9456DB is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.7% C 0.197 H 302.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9456DB
RGBrgb(148, 86, 219)
HSLhsl(268, 65%, 60%)
HSVhsv(268, 61%, 86%)
CMYKcmyk(32.4%, 60.7%, 0%, 14.1%)
CIE-LABlab(49.58, 51.31, -58.73)
CIE-LCHlch(49.58, 77.99, 311.15°)
OKLaboklab(58.73% 0.1047 -0.1665)
OKLCHoklch(58.73% 0.197 302.2)
XYZxyz(28.3237, 18.0659, 68.9990)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9456DB #9DDB56
analogous
#565BDB #9456DB #D756DB
triadic
#9456DB #DB9456 #56DB94
tetradic
#9456DB #DB565B #9DDB56 #56DBD7
square
#9456DB #DB565B #9DDB56 #56DBD7
split-complementary
#9456DB #DBD756 #5BDB56
monochromatic
#572097 #752BC9 #9456DB #B488E6 #D4BBF0

Accessibility & contrast

On white

4.55
#9456DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9456DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9456DB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9456DB#FFFFFF#000000##000000
##9456DB1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#2E75D8
Tritanopia (blue-blind)
#867290
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9456db;
/* rgb */ color: rgb(148, 86, 219);
/* oklch */ color: oklch(58.7% 0.197 302.2);
Tailwind
colors: {
  custom: {
    50: '#b889e7',
    500: '#9456db',
    950: '#000000',
  },
}
SCSS
$custom: #9456db;
$custom-light: #b889e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9456db",
  "rgb": {
    "r": 148,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 267.97,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58734,
    "c": 0.19667,
    "h": 302.2
  },
  "luminance": 0.18066
}

Semantic roles & 50–950 ramp

primary
#9456DB
secondary
#C8E0AD
accent
#E8409A
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9456DB

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

Preview Lab → · Contrast checker → · Palette generator →

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