#9246DB#9246DB

#9246DB is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.4% C 0.217 H 303.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9246DB
RGBrgb(146, 70, 219)
HSLhsl(271, 67%, 57%)
HSVhsv(271, 68%, 86%)
CMYKcmyk(33.3%, 68%, 0%, 14.1%)
CIE-LABlab(46.45, 58.79, -63.78)
CIE-LCHlch(46.45, 86.74, 312.67°)
OKLaboklab(56.43% 0.1198 -0.1813)
OKLCHoklch(56.43% 0.217 303.4)
XYZxyz(26.8274, 15.6058, 68.6030)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9246DB #8FDB46
analogous
#4846DB #9246DB #DB46DA
triadic
#9246DB #DB9246 #46DB92
tetradic
#9246DB #DB4846 #8FDB46 #46DADB
square
#9246DB #DB4846 #8FDB46 #46DADB
split-complementary
#9246DB #DADB46 #46DB48
monochromatic
#541B8B #7325BF #9246DB #B079E5 #CEACEF

Accessibility & contrast

On white

5.10
#9246DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9246DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9246DB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9246DB#FFFFFF#000000##FFFFFF
##9246DB1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#84688B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9246db;
/* rgb */ color: rgb(146, 70, 219);
/* oklch */ color: oklch(56.4% 0.217 303.4);
Tailwind
colors: {
  custom: {
    50: '#b77fe7',
    500: '#9246db',
    950: '#000000',
  },
}
SCSS
$custom: #9246db;
$custom-light: #b77fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9246db",
  "rgb": {
    "r": 146,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 270.604,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5643,
    "c": 0.21733,
    "h": 303.4
  },
  "luminance": 0.15606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9246DB

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

Preview Lab → · Contrast checker → · Palette generator →

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