#7247BE#7247BE

#7247BE is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.178 H 296.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7247BE
RGBrgb(114, 71, 190)
HSLhsl(262, 48%, 51%)
HSVhsv(262, 63%, 75%)
CMYKcmyk(40%, 62.6%, 0%, 25.5%)
CIE-LABlab(40.90, 44.43, -56.21)
CIE-LCHlch(40.90, 71.65, 308.33°)
OKLaboklab(50.96% 0.0785 -0.1601)
OKLCHoklch(50.96% 0.178 296.1)
XYZxyz(18.4845, 11.8012, 50.0092)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7247BE #93BE47
analogous
#4757BE #7247BE #AD47BE
triadic
#7247BE #BE7247 #47BE72
tetradic
#7247BE #BE4757 #93BE47 #47BEAD
square
#7247BE #BE4757 #93BE47 #47BEAD
split-complementary
#7247BE #BEAD47 #57BE47
monochromatic
#3C2466 #573494 #7247BE #9574CE #B7A1DE

Accessibility & contrast

On white

6.25
#7247BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7247BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7247BE
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7247BE#FFFFFF#000000##FFFFFF
##7247BE1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#5F627C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7247be;
/* rgb */ color: rgb(114, 71, 190);
/* oklch */ color: oklch(51.0% 0.178 296.1);
Tailwind
colors: {
  custom: {
    50: '#a07cd2',
    500: '#7247be',
    950: '#000000',
  },
}
SCSS
$custom: #7247be;
$custom-light: #a07cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7247be",
  "rgb": {
    "r": 114,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 261.681,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50959,
    "c": 0.17834,
    "h": 296.1
  },
  "luminance": 0.11802
}

Semantic roles & 50–950 ramp

primary
#7247BE
secondary
#B8CB96
accent
#D750A7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7247BE

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

Preview Lab → · Contrast checker → · Palette generator →

#7247BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva