#7247BF#7247BF

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

Color values

HEX#7247BF
RGBrgb(114, 71, 191)
HSLhsl(262, 48%, 51%)
HSVhsv(262, 63%, 75%)
CMYKcmyk(40.3%, 62.8%, 0%, 25.1%)
CIE-LABlab(40.97, 44.70, -56.68)
CIE-LCHlch(40.97, 72.19, 308.26°)
OKLaboklab(51.03% 0.0784 -0.1615)
OKLCHoklch(51.03% 0.18 295.9)
XYZxyz(18.5942, 11.8451, 50.5868)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7247BF #94BF47
analogous
#4758BF #7247BF #AE47BF
triadic
#7247BF #BF7247 #47BF72
tetradic
#7247BF #BF4758 #94BF47 #47BFAE
square
#7247BF #BF4758 #94BF47 #47BFAE
split-complementary
#7247BF #BFAE47 #58BF47
monochromatic
#3C2468 #573495 #7247BF #9574CF #B8A2DF

Accessibility & contrast

On white

6.23
#7247BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7247BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7247BF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7247BF#FFFFFF#000000##FFFFFF
##7247BF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#5F627C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7247bf;
/* rgb */ color: rgb(114, 71, 191);
/* oklch */ color: oklch(51.0% 0.180 295.9);
Tailwind
colors: {
  custom: {
    50: '#a07cd3',
    500: '#7247bf',
    950: '#000000',
  },
}
SCSS
$custom: #7247bf;
$custom-light: #a07cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7247bf",
  "rgb": {
    "r": 114,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 261.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.17955,
    "h": 295.9
  },
  "luminance": 0.11845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7247BF

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

Preview Lab → · Contrast checker → · Palette generator →

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