#7246D8#7246D8

#7246D8 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.8% C 0.210 H 291.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7246D8
RGBrgb(114, 70, 216)
HSLhsl(258, 65%, 56%)
HSVhsv(258, 68%, 85%)
CMYKcmyk(47.2%, 67.6%, 0%, 15.3%)
CIE-LABlab(42.63, 52.01, -68.43)
CIE-LCHlch(42.63, 85.96, 307.24°)
OKLaboklab(52.82% 0.0765 -0.1961)
OKLCHoklch(52.82% 0.21 291.3)
XYZxyz(21.5208, 12.9148, 66.3113)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246D8 #ACD846
analogous
#4663D8 #7246D8 #BB46D8
triadic
#7246D8 #D87246 #46D872
tetradic
#7246D8 #D84663 #ACD846 #46D8BB
square
#7246D8 #D84663 #ACD846 #46D8BB
split-complementary
#7246D8 #D8BB46 #63D846
monochromatic
#3D1C87 #5327BA #7246D8 #9979E3 #BFABED

Accessibility & contrast

On white

5.86
#7246D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7246D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246D8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246D8#FFFFFF#000000##FFFFFF
##7246D81.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#0062D5
Tritanopia (blue-blind)
#526A89
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7246d8;
/* rgb */ color: rgb(114, 70, 216);
/* oklch */ color: oklch(52.8% 0.210 291.3);
Tailwind
colors: {
  custom: {
    50: '#a37ce5',
    500: '#7246d8',
    950: '#000000',
  },
}
SCSS
$custom: #7246d8;
$custom-light: #a37ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#7246d8",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 258.082,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52818,
    "c": 0.21049,
    "h": 291.3
  },
  "luminance": 0.12916
}

Semantic roles & 50–950 ramp

primary
#7246D8
secondary
#C9DB9F
accent
#E840B5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7246D8

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

Preview Lab → · Contrast checker → · Palette generator →

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