#7246CC#7246CC

#7246CC is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.196 H 293.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7246CC
RGBrgb(114, 70, 204)
HSLhsl(260, 57%, 54%)
HSVhsv(260, 66%, 80%)
CMYKcmyk(44.1%, 65.7%, 0%, 20%)
CIE-LABlab(41.72, 48.75, -63.02)
CIE-LCHlch(41.72, 79.68, 307.72°)
OKLaboklab(51.87% 0.0782 -0.1802)
OKLCHoklch(51.87% 0.196 293.5)
XYZxyz(20.0257, 12.3168, 58.4373)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246CC #A0CC46
analogous
#465DCC #7246CC #B546CC
triadic
#7246CC #CC7246 #46CC72
tetradic
#7246CC #CC465D #A0CC46 #46CCB5
square
#7246CC #CC465D #A0CC46 #46CCB5
split-complementary
#7246CC #CCB546 #5DCC46
monochromatic
#3D2177 #562EA7 #7246CC #9776D9 #BBA6E6

Accessibility & contrast

On white

6.06
#7246CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7246CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246CC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246CC#FFFFFF#000000##FFFFFF
##7246CC1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#586683
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7246cc;
/* rgb */ color: rgb(114, 70, 204);
/* oklch */ color: oklch(51.9% 0.196 293.5);
Tailwind
colors: {
  custom: {
    50: '#a17cdc',
    500: '#7246cc',
    950: '#000000',
  },
}
SCSS
$custom: #7246cc;
$custom-light: #a17cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7246cc",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 259.701,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5187,
    "c": 0.19642,
    "h": 293.5
  },
  "luminance": 0.12317
}

Semantic roles & 50–950 ramp

primary
#7246CC
secondary
#C1D49A
accent
#E048AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7246CC

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

Preview Lab → · Contrast checker → · Palette generator →

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