#7246CF#7246CF

#7246CF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.1% C 0.200 H 292.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7246CF
RGBrgb(114, 70, 207)
HSLhsl(259, 59%, 54%)
HSVhsv(259, 66%, 81%)
CMYKcmyk(44.9%, 66.2%, 0%, 18.8%)
CIE-LABlab(41.94, 49.56, -64.39)
CIE-LCHlch(41.94, 81.26, 307.59°)
OKLaboklab(52.1% 0.0778 -0.1842)
OKLCHoklch(52.1% 0.2 292.9)
XYZxyz(20.3890, 12.4621, 60.3505)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246CF #A3CF46
analogous
#465FCF #7246CF #B746CF
triadic
#7246CF #CF7246 #46CF72
tetradic
#7246CF #CF465F #A3CF46 #46CFB7
square
#7246CF #CF465F #A3CF46 #46CFB7
split-complementary
#7246CF #CFB746 #5FCF46
monochromatic
#3D207B #552CAB #7246CF #9777DC #BCA7E8

Accessibility & contrast

On white

6.01
#7246CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7246CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246CF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246CF#FFFFFF#000000##FFFFFF
##7246CF1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#576785
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7246cf;
/* rgb */ color: rgb(114, 70, 207);
/* oklch */ color: oklch(52.1% 0.200 292.9);
Tailwind
colors: {
  custom: {
    50: '#a27cdf',
    500: '#7246cf',
    950: '#000000',
  },
}
SCSS
$custom: #7246cf;
$custom-light: #a27cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7246cf",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 259.27,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52103,
    "c": 0.19996,
    "h": 292.9
  },
  "luminance": 0.12463
}

Semantic roles & 50–950 ramp

primary
#7246CF
secondary
#C3D59B
accent
#E246B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7246CF

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

Preview Lab → · Contrast checker → · Palette generator →

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