#7247E1#7247E1

#7247E1 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.7% C 0.220 H 289.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7247E1
RGBrgb(114, 71, 225)
HSLhsl(257, 72%, 58%)
HSVhsv(257, 68%, 88%)
CMYKcmyk(49.3%, 68.4%, 0%, 11.8%)
CIE-LABlab(43.54, 53.96, -72.10)
CIE-LCHlch(43.54, 90.06, 306.81°)
OKLaboklab(53.68% 0.0741 -0.2069)
OKLCHoklch(53.68% 0.22 289.7)
XYZxyz(22.7794, 13.5192, 72.6288)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7247E1 #B6E147
analogous
#4769E1 #7247E1 #BF47E1
triadic
#7247E1 #E17247 #47E172
tetradic
#7247E1 #E14769 #B6E147 #47E1BF
square
#7247E1 #E14769 #B6E147 #47E1BF
split-complementary
#7247E1 #E1BF47 #69E147
monochromatic
#3B1895 #5021CA #7247E1 #9A7CEA #C3B0F2

Accessibility & contrast

On white

5.67
#7247E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7247E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7247E1
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7247E1#FFFFFF#000000##FFFFFF
##7247E11.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE6
Deuteranopia (green-blind)
#0063DE
Tritanopia (blue-blind)
#4C6E8F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7247e1;
/* rgb */ color: rgb(114, 71, 225);
/* oklch */ color: oklch(53.7% 0.220 289.7);
Tailwind
colors: {
  custom: {
    50: '#a47deb',
    500: '#7247e1',
    950: '#000000',
  },
}
SCSS
$custom: #7247e1;
$custom-light: #a47deb;
$custom-dark: #000000;
JSON
{
  "hex": "#7247e1",
  "rgb": {
    "r": 114,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 256.753,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53684,
    "c": 0.21975,
    "h": 289.7
  },
  "luminance": 0.1352
}

Semantic roles & 50–950 ramp

primary
#7247E1
secondary
#CFE1A3
accent
#EF39BC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7247E1

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

Preview Lab → · Contrast checker → · Palette generator →

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