#7246B2#7246B2

#7246B2 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.9% C 0.165 H 299.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7246B2
RGBrgb(114, 70, 178)
HSLhsl(264, 44%, 49%)
HSVhsv(264, 61%, 70%)
CMYKcmyk(36%, 60.7%, 0%, 30.2%)
CIE-LABlab(39.87, 41.80, -50.82)
CIE-LCHlch(39.87, 65.80, 309.44°)
OKLaboklab(49.95% 0.0803 -0.1443)
OKLCHoklch(49.95% 0.165 299.1)
XYZxyz(17.1635, 11.1719, 43.3630)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246B2 #86B246
analogous
#4650B2 #7246B2 #A846B2
triadic
#7246B2 #B27246 #46B272
tetradic
#7246B2 #B24650 #86B246 #46B2A8
square
#7246B2 #B24650 #86B246 #46B2A8
split-complementary
#7246B2 #B2A846 #50B246
monochromatic
#3A235A #563586 #7246B2 #936FC6 #B49BD8

Accessibility & contrast

On white

6.49
#7246B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7246B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246B2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246B2#FFFFFF#000000##FFFFFF
##7246B21.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB5
Deuteranopia (green-blind)
#1E5DB0
Tritanopia (blue-blind)
#645D75
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7246b2;
/* rgb */ color: rgb(114, 70, 178);
/* oklch */ color: oklch(49.9% 0.165 299.1);
Tailwind
colors: {
  custom: {
    50: '#9f7bca',
    500: '#7246b2',
    950: '#000000',
  },
}
SCSS
$custom: #7246b2;
$custom-light: #9f7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#7246b2",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 264.444,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49947,
    "c": 0.16514,
    "h": 299.1
  },
  "luminance": 0.11172
}

Semantic roles & 50–950 ramp

primary
#7246B2
secondary
#AFC490
accent
#D355A0
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7246B2

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

Preview Lab → · Contrast checker → · Palette generator →

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