#9246DD#9246DD

#9246DD is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.6% C 0.219 H 303.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9246DD
RGBrgb(146, 70, 221)
HSLhsl(270, 69%, 57%)
HSVhsv(270, 68%, 87%)
CMYKcmyk(33.9%, 68.3%, 0%, 13.3%)
CIE-LABlab(46.59, 59.26, -64.69)
CIE-LCHlch(46.59, 87.73, 312.49°)
OKLaboklab(56.58% 0.1195 -0.184)
OKLCHoklch(56.58% 0.219 303)
XYZxyz(27.0923, 15.7118, 69.9980)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9246DD #91DD46
analogous
#4746DD #9246DD #DD46DC
triadic
#9246DD #DD9246 #46DD92
tetradic
#9246DD #DD4746 #91DD46 #46DCDD
square
#9246DD #DD4746 #91DD46 #46DCDD
split-complementary
#9246DD #DCDD46 #46DD47
monochromatic
#551A8E #7324C2 #9246DD #B07AE7 #CFADF0

Accessibility & contrast

On white

5.07
#9246DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9246DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9246DD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9246DD#FFFFFF#000000##FFFFFF
##9246DD1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9246dd;
/* rgb */ color: rgb(146, 70, 221);
/* oklch */ color: oklch(56.6% 0.219 303.0);
Tailwind
colors: {
  custom: {
    50: '#b77fe8',
    500: '#9246dd',
    950: '#000000',
  },
}
SCSS
$custom: #9246dd;
$custom-light: #b77fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9246dd",
  "rgb": {
    "r": 146,
    "g": 70,
    "b": 221
  },
  "hsl": {
    "h": 270.199,
    "s": 68.95,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56575,
    "c": 0.21943,
    "h": 303
  },
  "luminance": 0.15712
}

Semantic roles & 50–950 ramp

primary
#9246DD
secondary
#BFDEA1
accent
#EC3C93
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9246DD

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

Preview Lab → · Contrast checker → · Palette generator →

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