#9246D9#9246D9

#9246D9 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.215 H 303.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9246D9
RGBrgb(146, 70, 217)
HSLhsl(271, 66%, 56%)
HSVhsv(271, 68%, 85%)
CMYKcmyk(32.7%, 67.7%, 0%, 14.9%)
CIE-LABlab(46.31, 58.32, -62.87)
CIE-LCHlch(46.31, 85.75, 312.85°)
OKLaboklab(56.29% 0.1201 -0.1786)
OKLCHoklch(56.29% 0.215 303.9)
XYZxyz(26.5657, 15.5011, 67.2247)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9246D9 #8DD946
analogous
#4946D9 #9246D9 #D946D7
triadic
#9246D9 #D99246 #46D992
tetradic
#9246D9 #D94946 #8DD946 #46D7D9
square
#9246D9 #D94946 #8DD946 #46D7D9
split-complementary
#9246D9 #D7D946 #46D949
monochromatic
#541C89 #7326BB #9246D9 #B079E3 #CEACEE

Accessibility & contrast

On white

5.12
#9246D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9246D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9246D9
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9246D9#FFFFFF#000000##FFFFFF
##9246D91.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#006ED6
Tritanopia (blue-blind)
#84678A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9246d9;
/* rgb */ color: rgb(146, 70, 217);
/* oklch */ color: oklch(56.3% 0.215 303.9);
Tailwind
colors: {
  custom: {
    50: '#b77fe6',
    500: '#9246d9',
    950: '#000000',
  },
}
SCSS
$custom: #9246d9;
$custom-light: #b77fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9246d9",
  "rgb": {
    "r": 146,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 271.02,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56286,
    "c": 0.21524,
    "h": 303.9
  },
  "luminance": 0.15501
}

Semantic roles & 50–950 ramp

primary
#9246D9
secondary
#BCDC9F
accent
#E93F91
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9246D9

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

Preview Lab → · Contrast checker → · Palette generator →

#9246D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva