#7247EA#7247EA

#7247EA is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.4% C 0.230 H 288.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7247EA
RGBrgb(114, 71, 234)
HSLhsl(256, 80%, 60%)
HSVhsv(256, 70%, 92%)
CMYKcmyk(51.3%, 69.7%, 0%, 8.2%)
CIE-LABlab(44.27, 56.43, -76.01)
CIE-LCHlch(44.27, 94.67, 306.59°)
OKLaboklab(54.43% 0.0726 -0.2183)
OKLCHoklch(54.43% 0.23 288.4)
XYZxyz(24.0396, 14.0233, 79.2660)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7247EA #BFEA47
analogous
#476EEA #7247EA #C347EA
triadic
#7247EA #EA7247 #47EA72
tetradic
#7247EA #EA476E #BFEA47 #47EAC3
square
#7247EA #EA476E #BFEA47 #47EAC3
split-complementary
#7247EA #EAC347 #6EEA47
monochromatic
#3913A4 #4C19DB #7247EA #9C7EF0 #C6B5F7

Accessibility & contrast

On white

5.52
#7247EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7247EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7247EA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7247EA#FFFFFF#000000##FFFFFF
##7247EA1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEF
Deuteranopia (green-blind)
#0064E7
Tritanopia (blue-blind)
#457294
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7247ea;
/* rgb */ color: rgb(114, 71, 234);
/* oklch */ color: oklch(54.4% 0.230 288.4);
Tailwind
colors: {
  custom: {
    50: '#a57ef2',
    500: '#7247ea',
    950: '#000000',
  },
}
SCSS
$custom: #7247ea;
$custom-light: #a57ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7247ea",
  "rgb": {
    "r": 114,
    "g": 71,
    "b": 234
  },
  "hsl": {
    "h": 255.828,
    "s": 79.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54431,
    "c": 0.23007,
    "h": 288.4
  },
  "luminance": 0.14024
}

Semantic roles & 50–950 ramp

primary
#7247EA
secondary
#D5E6A7
accent
#F632C2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7247EA

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

Preview Lab → · Contrast checker → · Palette generator →

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