#7247BC#7247BC

#7247BC is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.8% C 0.176 H 296.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7247BC
RGBrgb(114, 71, 188)
HSLhsl(262, 47%, 51%)
HSVhsv(262, 62%, 74%)
CMYKcmyk(39.4%, 62.2%, 0%, 26.3%)
CIE-LABlab(40.76, 43.90, -55.27)
CIE-LCHlch(40.76, 70.58, 308.46°)
OKLaboklab(50.81% 0.0786 -0.1574)
OKLCHoklch(50.81% 0.176 296.5)
XYZxyz(18.2674, 11.7144, 48.8659)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7247BC #91BC47
analogous
#4756BC #7247BC #AC47BC
triadic
#7247BC #BC7247 #47BC72
tetradic
#7247BC #BC4756 #91BC47 #47BCAC
square
#7247BC #BC4756 #91BC47 #47BCAC
split-complementary
#7247BC #BCAC47 #56BC47
monochromatic
#3C2464 #573591 #7247BC #9474CC #B7A1DD

Accessibility & contrast

On white

6.28
#7247BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7247BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7247BC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7247BC#FFFFFF#000000##FFFFFF
##7247BC1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#055FB9
Tritanopia (blue-blind)
#60617B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7247bc;
/* rgb */ color: rgb(114, 71, 188);
/* oklch */ color: oklch(50.8% 0.176 296.5);
Tailwind
colors: {
  custom: {
    50: '#a07cd1',
    500: '#7247bc',
    950: '#000000',
  },
}
SCSS
$custom: #7247bc;
$custom-light: #a07cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7247bc",
  "rgb": {
    "r": 114,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 262.051,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50813,
    "c": 0.17591,
    "h": 296.5
  },
  "luminance": 0.11715
}

Semantic roles & 50–950 ramp

primary
#7247BC
secondary
#B6C995
accent
#D652A5
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7247BC

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

Preview Lab → · Contrast checker → · Palette generator →

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