#9246D7#9246D7

#9246D7 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.213 H 304.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9246D7
RGBrgb(146, 70, 215)
HSLhsl(271, 64%, 56%)
HSVhsv(271, 67%, 84%)
CMYKcmyk(32.1%, 67.4%, 0%, 15.7%)
CIE-LABlab(46.17, 57.86, -61.95)
CIE-LCHlch(46.17, 84.76, 313.04°)
OKLaboklab(56.14% 0.1203 -0.1759)
OKLCHoklch(56.14% 0.213 304.4)
XYZxyz(26.3072, 15.3977, 65.8629)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9246D7 #8BD746
analogous
#4946D7 #9246D7 #D746D3
triadic
#9246D7 #D79246 #46D792
tetradic
#9246D7 #D74946 #8BD746 #46D3D7
square
#9246D7 #D74946 #8BD746 #46D3D7
split-complementary
#9246D7 #D3D746 #46D749
monochromatic
#541D86 #7328B8 #9246D7 #B078E2 #CDABED

Accessibility & contrast

On white

5.15
#9246D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9246D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9246D7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9246D7#FFFFFF#000000##FFFFFF
##9246D71.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0B6DD4
Tritanopia (blue-blind)
#856789
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9246d7;
/* rgb */ color: rgb(146, 70, 215);
/* oklch */ color: oklch(56.1% 0.213 304.4);
Tailwind
colors: {
  custom: {
    50: '#b77fe4',
    500: '#9246d7',
    950: '#000000',
  },
}
SCSS
$custom: #9246d7;
$custom-light: #b77fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#9246d7",
  "rgb": {
    "r": 146,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 271.448,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56143,
    "c": 0.21314,
    "h": 304.4
  },
  "luminance": 0.15398
}

Semantic roles & 50–950 ramp

primary
#9246D7
secondary
#BBDA9E
accent
#E74090
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9246D7

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

Preview Lab → · Contrast checker → · Palette generator →

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