#7246CD#7246CD

#7246CD is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.9% C 0.198 H 293.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7246CD
RGBrgb(114, 70, 205)
HSLhsl(260, 57%, 54%)
HSVhsv(260, 66%, 80%)
CMYKcmyk(44.4%, 65.9%, 0%, 19.6%)
CIE-LABlab(41.79, 49.02, -63.48)
CIE-LCHlch(41.79, 80.20, 307.68°)
OKLaboklab(51.95% 0.0781 -0.1815)
OKLCHoklch(51.95% 0.198 293.3)
XYZxyz(20.1460, 12.3649, 59.0710)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246CD #A1CD46
analogous
#465ECD #7246CD #B646CD
triadic
#7246CD #CD7246 #46CD72
tetradic
#7246CD #CD465E #A1CD46 #46CDB6
square
#7246CD #CD465E #A1CD46 #46CDB6
split-complementary
#7246CD #CDB646 #5ECD46
monochromatic
#3D2078 #562DA8 #7246CD #9776DA #BBA6E7

Accessibility & contrast

On white

6.05
#7246CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7246CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246CD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246CD#FFFFFF#000000##FFFFFF
##7246CD1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#586683
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7246cd;
/* rgb */ color: rgb(114, 70, 205);
/* oklch */ color: oklch(51.9% 0.198 293.3);
Tailwind
colors: {
  custom: {
    50: '#a17cdd',
    500: '#7246cd',
    950: '#000000',
  },
}
SCSS
$custom: #7246cd;
$custom-light: #a17cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7246cd",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 259.556,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51947,
    "c": 0.1976,
    "h": 293.3
  },
  "luminance": 0.12366
}

Semantic roles & 50–950 ramp

primary
#7246CD
secondary
#C1D49B
accent
#E147AF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7246CD

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

Preview Lab → · Contrast checker → · Palette generator →

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