#9246DC#9246DC

#9246DC is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.218 H 303.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9246DC
RGBrgb(146, 70, 220)
HSLhsl(270, 68%, 57%)
HSVhsv(270, 68%, 86%)
CMYKcmyk(33.6%, 68.2%, 0%, 13.7%)
CIE-LABlab(46.52, 59.02, -64.24)
CIE-LCHlch(46.52, 87.24, 312.58°)
OKLaboklab(56.5% 0.1197 -0.1827)
OKLCHoklch(56.5% 0.218 303.2)
XYZxyz(26.9595, 15.6586, 69.2984)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9246DC #90DC46
analogous
#4746DC #9246DC #DC46DB
triadic
#9246DC #DC9246 #46DC92
tetradic
#9246DC #DC4746 #90DC46 #46DBDC
square
#9246DC #DC4746 #90DC46 #46DBDC
split-complementary
#9246DC #DBDC46 #46DC47
monochromatic
#551B8D #7324C0 #9246DC #B079E6 #CFADEF

Accessibility & contrast

On white

5.08
#9246DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9246DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9246DC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9246DC#FFFFFF#000000##FFFFFF
##9246DC1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#83698C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9246dc;
/* rgb */ color: rgb(146, 70, 220);
/* oklch */ color: oklch(56.5% 0.218 303.2);
Tailwind
colors: {
  custom: {
    50: '#b77fe8',
    500: '#9246dc',
    950: '#000000',
  },
}
SCSS
$custom: #9246dc;
$custom-light: #b77fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9246dc",
  "rgb": {
    "r": 146,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 270.4,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56503,
    "c": 0.21838,
    "h": 303.2
  },
  "luminance": 0.15659
}

Semantic roles & 50–950 ramp

primary
#9246DC
secondary
#BEDDA0
accent
#EB3D93
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9246DC

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

Preview Lab → · Contrast checker → · Palette generator →

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