#7246CB#7246CB

#7246CB is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.195 H 293.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7246CB
RGBrgb(114, 70, 203)
HSLhsl(260, 56%, 54%)
HSVhsv(260, 66%, 80%)
CMYKcmyk(43.8%, 65.5%, 0%, 20.4%)
CIE-LABlab(41.64, 48.48, -62.57)
CIE-LCHlch(41.64, 79.15, 307.77°)
OKLaboklab(51.79% 0.0783 -0.1788)
OKLCHoklch(51.79% 0.195 293.6)
XYZxyz(19.9062, 12.2690, 57.8077)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246CB #9FCB46
analogous
#465CCB #7246CB #B546CB
triadic
#7246CB #CB7246 #46CB72
tetradic
#7246CB #CB465C #9FCB46 #46CBB5
square
#7246CB #CB465C #9FCB46 #46CBB5
split-complementary
#7246CB #CBB546 #5CCB46
monochromatic
#3D2176 #562EA5 #7246CB #9676D8 #BBA6E6

Accessibility & contrast

On white

6.08
#7246CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7246CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246CB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246CB#FFFFFF#000000##FFFFFF
##7246CB1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#596682
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7246cb;
/* rgb */ color: rgb(114, 70, 203);
/* oklch */ color: oklch(51.8% 0.195 293.6);
Tailwind
colors: {
  custom: {
    50: '#a17cdc',
    500: '#7246cb',
    950: '#000000',
  },
}
SCSS
$custom: #7246cb;
$custom-light: #a17cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7246cb",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 259.85,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51792,
    "c": 0.19523,
    "h": 293.6
  },
  "luminance": 0.1227
}

Semantic roles & 50–950 ramp

primary
#7246CB
secondary
#C0D39A
accent
#DF48AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7246CB

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

Preview Lab → · Contrast checker → · Palette generator →

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