#7246D2#7246D2

#7246D2 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.3% C 0.203 H 292.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7246D2
RGBrgb(114, 70, 210)
HSLhsl(259, 61%, 55%)
HSVhsv(259, 67%, 82%)
CMYKcmyk(45.7%, 66.7%, 0%, 17.6%)
CIE-LABlab(42.17, 50.38, -65.74)
CIE-LCHlch(42.17, 82.83, 307.46°)
OKLaboklab(52.34% 0.0774 -0.1882)
OKLCHoklch(52.34% 0.203 292.4)
XYZxyz(20.7592, 12.6102, 62.3005)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246D2 #A6D246
analogous
#4660D2 #7246D2 #B846D2
triadic
#7246D2 #D27246 #46D272
tetradic
#7246D2 #D24660 #A6D246 #46D2B8
square
#7246D2 #D24660 #A6D246 #46D2B8
split-complementary
#7246D2 #D2B846 #60D246
monochromatic
#3D1F7F #552BB0 #7246D2 #9877DE #BDA8EA

Accessibility & contrast

On white

5.96
#7246D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7246D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246D2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246D2#FFFFFF#000000##FFFFFF
##7246D21.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#556886
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7246d2;
/* rgb */ color: rgb(114, 70, 210);
/* oklch */ color: oklch(52.3% 0.203 292.4);
Tailwind
colors: {
  custom: {
    50: '#a27ce1',
    500: '#7246d2',
    950: '#000000',
  },
}
SCSS
$custom: #7246d2;
$custom-light: #a27ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#7246d2",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 258.857,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52339,
    "c": 0.20349,
    "h": 292.4
  },
  "luminance": 0.12611
}

Semantic roles & 50–950 ramp

primary
#7246D2
secondary
#C5D79C
accent
#E444B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7246D2

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

Preview Lab → · Contrast checker → · Palette generator →

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