#7246BC#7246BC

#7246BC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.177 H 296.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7246BC
RGBrgb(114, 70, 188)
HSLhsl(262, 47%, 51%)
HSVhsv(262, 63%, 74%)
CMYKcmyk(39.4%, 62.8%, 0%, 26.3%)
CIE-LABlab(40.55, 44.45, -55.60)
CIE-LCHlch(40.55, 71.18, 308.64°)
OKLaboklab(50.66% 0.0798 -0.1583)
OKLCHoklch(50.66% 0.177 296.7)
XYZxyz(18.2043, 11.5882, 48.8448)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246BC #90BC46
analogous
#4655BC #7246BC #AD46BC
triadic
#7246BC #BC7246 #46BC72
tetradic
#7246BC #BC4655 #90BC46 #46BCAD
square
#7246BC #BC4655 #90BC46 #46BCAD
split-complementary
#7246BC #BCAD46 #55BC46
monochromatic
#3C2464 #573490 #7246BC #9473CC #B6A0DD

Accessibility & contrast

On white

6.33
#7246BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7246BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7246BC#FFFFFF#000000##FFFFFF
##7246BC1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#60607A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7246bc;
/* rgb */ color: rgb(114, 70, 188);
/* oklch */ color: oklch(50.7% 0.177 296.7);
Tailwind
colors: {
  custom: {
    50: '#a07cd1',
    500: '#7246bc',
    950: '#000000',
  },
}
SCSS
$custom: #7246bc;
$custom-light: #a07cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7246bc",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 262.373,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50664,
    "c": 0.17729,
    "h": 296.7
  },
  "luminance": 0.11589
}

Semantic roles & 50–950 ramp

primary
#7246BC
secondary
#B6C995
accent
#D651A5
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7246BC

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

Preview Lab → · Contrast checker → · Palette generator →

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