#9246D2#9246D2

#9246D2 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.8% C 0.208 H 305.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9246D2
RGBrgb(146, 70, 210)
HSLhsl(273, 61%, 55%)
HSVhsv(273, 67%, 82%)
CMYKcmyk(30.5%, 66.7%, 0%, 17.6%)
CIE-LABlab(45.83, 56.70, -59.64)
CIE-LCHlch(45.83, 82.29, 313.55°)
OKLaboklab(55.79% 0.1209 -0.1692)
OKLCHoklch(55.79% 0.208 305.5)
XYZxyz(25.6745, 15.1446, 62.5309)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9246D2 #86D246
analogous
#4C46D2 #9246D2 #D246CC
triadic
#9246D2 #D29246 #46D292
tetradic
#9246D2 #D24C46 #86D246 #46CCD2
square
#9246D2 #D24C46 #86D246 #46CCD2
split-complementary
#9246D2 #CCD246 #46D24C
monochromatic
#531F7F #732BB0 #9246D2 #AF77DE #CCA8EA

Accessibility & contrast

On white

5.21
#9246D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9246D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9246D2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9246D2#FFFFFF#000000##FFFFFF
##9246D21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#1C6DCF
Tritanopia (blue-blind)
#876586
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9246d2;
/* rgb */ color: rgb(146, 70, 210);
/* oklch */ color: oklch(55.8% 0.208 305.5);
Tailwind
colors: {
  custom: {
    50: '#b77fe1',
    500: '#9246d2',
    950: '#000000',
  },
}
SCSS
$custom: #9246d2;
$custom-light: #b77fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#9246d2",
  "rgb": {
    "r": 146,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 272.571,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55789,
    "c": 0.2079,
    "h": 305.5
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#9246D2
secondary
#B7D79C
accent
#E4448D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9246D2

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

Preview Lab → · Contrast checker → · Palette generator →

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