#7246AA#7246AA

#7246AA is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.4% C 0.155 H 301.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7246AA
RGBrgb(114, 70, 170)
HSLhsl(266, 42%, 47%)
HSVhsv(266, 59%, 67%)
CMYKcmyk(32.9%, 58.8%, 0%, 33.3%)
CIE-LABlab(39.34, 39.72, -46.93)
CIE-LCHlch(39.34, 61.48, 310.24°)
OKLaboklab(49.4% 0.0804 -0.1329)
OKLCHoklch(49.4% 0.155 301.2)
XYZxyz(16.3836, 10.8599, 39.2554)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246AA #7EAA46
analogous
#464CAA #7246AA #A446AA
triadic
#7246AA #AA7246 #46AA72
tetradic
#7246AA #AA464C #7EAA46 #46AAA4
square
#7246AA #AA464C #7EAA46 #46AAA4
split-complementary
#7246AA #AAA446 #4CAA46
monochromatic
#382253 #55347F #7246AA #916BC2 #B296D4

Accessibility & contrast

On white

6.62
#7246AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7246AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7246AA#FFFFFF#000000##FFFFFF
##7246AA1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155CAD
Deuteranopia (green-blind)
#2A5CA8
Tritanopia (blue-blind)
#675A71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7246aa;
/* rgb */ color: rgb(114, 70, 170);
/* oklch */ color: oklch(49.4% 0.155 301.2);
Tailwind
colors: {
  custom: {
    50: '#9e7bc4',
    500: '#7246aa',
    950: '#000000',
  },
}
SCSS
$custom: #7246aa;
$custom-light: #9e7bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7246aa",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 266.4,
    "s": 41.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49396,
    "c": 0.15532,
    "h": 301.2
  },
  "luminance": 0.1086
}

Semantic roles & 50–950 ramp

primary
#7246AA
secondary
#A9C08C
accent
#D1569B
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7246AA

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

Preview Lab → · Contrast checker → · Palette generator →

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