#7247BA#7247BA

#7247BA is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.173 H 297.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7247BA
RGBrgb(114, 71, 186)
HSLhsl(262, 45%, 50%)
HSVhsv(262, 62%, 73%)
CMYKcmyk(38.7%, 61.8%, 0%, 27.1%)
CIE-LABlab(40.62, 43.36, -54.32)
CIE-LCHlch(40.62, 69.50, 308.60°)
OKLaboklab(50.67% 0.0787 -0.1546)
OKLCHoklch(50.67% 0.173 297)
XYZxyz(18.0533, 11.6288, 47.7383)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7247BA #8FBA47
analogous
#4755BA #7247BA #AC47BA
triadic
#7247BA #BA7247 #47BA72
tetradic
#7247BA #BA4755 #8FBA47 #47BAAC
square
#7247BA #BA4755 #8FBA47 #47BAAC
split-complementary
#7247BA #BAAC47 #55BA47
monochromatic
#3C2562 #57358E #7247BA #9474CB #B6A0DB

Accessibility & contrast

On white

6.31
#7247BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7247BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7247BA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7247BA#FFFFFF#000000##FFFFFF
##7247BA1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0D5EB8
Tritanopia (blue-blind)
#61607A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7247ba;
/* rgb */ color: rgb(114, 71, 186);
/* oklch */ color: oklch(50.7% 0.173 297.0);
Tailwind
colors: {
  custom: {
    50: '#9f7ccf',
    500: '#7247ba',
    950: '#000000',
  },
}
SCSS
$custom: #7247ba;
$custom-light: #9f7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#7247ba",
  "rgb": {
    "r": 114,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 262.435,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50668,
    "c": 0.17348,
    "h": 297
  },
  "luminance": 0.11629
}

Semantic roles & 50–950 ramp

primary
#7247BA
secondary
#B5C895
accent
#D553A4
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7247BA

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

Preview Lab → · Contrast checker → · Palette generator →

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