#9456DA#9456DA

#9456DA is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.7% C 0.196 H 302.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9456DA
RGBrgb(148, 86, 218)
HSLhsl(268, 64%, 60%)
HSVhsv(268, 61%, 85%)
CMYKcmyk(32.1%, 60.6%, 0%, 14.5%)
CIE-LABlab(49.51, 51.07, -58.26)
CIE-LCHlch(49.51, 77.48, 311.24°)
OKLaboklab(58.67% 0.1047 -0.1651)
OKLCHoklch(58.67% 0.196 302.4)
XYZxyz(28.1925, 18.0134, 68.3077)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9456DA #9CDA56
analogous
#565ADA #9456DA #D656DA
triadic
#9456DA #DA9456 #56DA94
tetradic
#9456DA #DA565A #9CDA56 #56DAD6
square
#9456DA #DA565A #9CDA56 #56DAD6
split-complementary
#9456DA #DAD656 #5ADA56
monochromatic
#572195 #752CC7 #9456DA #B488E5 #D4BAF0

Accessibility & contrast

On white

4.56
#9456DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9456DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9456DA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9456DA#FFFFFF#000000##000000
##9456DA1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DE
Deuteranopia (green-blind)
#3075D7
Tritanopia (blue-blind)
#867290
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9456da;
/* rgb */ color: rgb(148, 86, 218);
/* oklch */ color: oklch(58.7% 0.196 302.4);
Tailwind
colors: {
  custom: {
    50: '#b888e6',
    500: '#9456da',
    950: '#000000',
  },
}
SCSS
$custom: #9456da;
$custom-light: #b888e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9456da",
  "rgb": {
    "r": 148,
    "g": 86,
    "b": 218
  },
  "hsl": {
    "h": 268.182,
    "s": 64.078,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58667,
    "c": 0.19552,
    "h": 302.4
  },
  "luminance": 0.18013
}

Semantic roles & 50–950 ramp

primary
#9456DA
secondary
#C7E0AC
accent
#E74199
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9456DA

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

Preview Lab → · Contrast checker → · Palette generator →

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