#7246CA#7246CA

#7246CA is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.194 H 293.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7246CA
RGBrgb(114, 70, 202)
HSLhsl(260, 55%, 53%)
HSVhsv(260, 65%, 79%)
CMYKcmyk(43.6%, 65.3%, 0%, 20.8%)
CIE-LABlab(41.57, 48.21, -62.11)
CIE-LCHlch(41.57, 78.62, 307.82°)
OKLaboklab(51.72% 0.0784 -0.1775)
OKLCHoklch(51.72% 0.194 293.8)
XYZxyz(19.7874, 12.2215, 57.1821)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246CA #9ECA46
analogous
#465CCA #7246CA #B446CA
triadic
#7246CA #CA7246 #46CA72
tetradic
#7246CA #CA465C #9ECA46 #46CAB4
square
#7246CA #CA465C #9ECA46 #46CAB4
split-complementary
#7246CA #CAB446 #5CCA46
monochromatic
#3D2174 #562FA4 #7246CA #9676D8 #BBA5E5

Accessibility & contrast

On white

6.10
#7246CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7246CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246CA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246CA#FFFFFF#000000##FFFFFF
##7246CA1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#596582
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7246ca;
/* rgb */ color: rgb(114, 70, 202);
/* oklch */ color: oklch(51.7% 0.194 293.8);
Tailwind
colors: {
  custom: {
    50: '#a17cdb',
    500: '#7246ca',
    950: '#000000',
  },
}
SCSS
$custom: #7246ca;
$custom-light: #a17cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7246ca",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 260,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51715,
    "c": 0.19405,
    "h": 293.8
  },
  "luminance": 0.12222
}

Semantic roles & 50–950 ramp

primary
#7246CA
secondary
#BFD29A
accent
#DF49AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7246CA

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

Preview Lab → · Contrast checker → · Palette generator →

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