#9246CB#9246CB

#9246CB is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.201 H 307.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9246CB
RGBrgb(146, 70, 203)
HSLhsl(274, 56%, 54%)
HSVhsv(274, 66%, 80%)
CMYKcmyk(28.1%, 65.5%, 0%, 20.4%)
CIE-LABlab(45.36, 55.10, -56.36)
CIE-LCHlch(45.36, 78.82, 314.35°)
OKLaboklab(55.3% 0.1215 -0.1595)
OKLCHoklch(55.3% 0.201 307.3)
XYZxyz(24.8215, 14.8034, 58.0381)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9246CB #7FCB46
analogous
#4F46CB #9246CB #CB46C1
triadic
#9246CB #CB9246 #46CB92
tetradic
#9246CB #CB4F46 #7FCB46 #46C1CB
square
#9246CB #CB4F46 #7FCB46 #46C1CB
split-complementary
#9246CB #C1CB46 #46CB4F
monochromatic
#512176 #722EA5 #9246CB #AE76D8 #CAA6E6

Accessibility & contrast

On white

5.30
#9246CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9246CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9246CB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9246CB#FFFFFF#000000##FFFFFF
##9246CB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#296CC8
Tritanopia (blue-blind)
#896283
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9246cb;
/* rgb */ color: rgb(146, 70, 203);
/* oklch */ color: oklch(55.3% 0.201 307.3);
Tailwind
colors: {
  custom: {
    50: '#b67edc',
    500: '#9246cb',
    950: '#000000',
  },
}
SCSS
$custom: #9246cb;
$custom-light: #b67edc;
$custom-dark: #000000;
JSON
{
  "hex": "#9246cb",
  "rgb": {
    "r": 146,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 274.286,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55304,
    "c": 0.20054,
    "h": 307.3
  },
  "luminance": 0.14803
}

Semantic roles & 50–950 ramp

primary
#9246CB
secondary
#B2D39A
accent
#DF4889
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9246CB

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

Preview Lab → · Contrast checker → · Palette generator →

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