#7247DB#7247DB

#7247DB is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.2% C 0.213 H 290.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7247DB
RGBrgb(114, 71, 219)
HSLhsl(257, 67%, 57%)
HSVhsv(257, 68%, 86%)
CMYKcmyk(47.9%, 67.6%, 0%, 14.1%)
CIE-LABlab(43.06, 52.31, -69.46)
CIE-LCHlch(43.06, 86.95, 306.99°)
OKLaboklab(53.2% 0.0751 -0.1991)
OKLCHoklch(53.2% 0.213 290.7)
XYZxyz(21.9752, 13.1975, 68.3936)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7247DB #B0DB47
analogous
#4766DB #7247DB #BC47DB
triadic
#7247DB #DB7247 #47DB72
tetradic
#7247DB #DB4766 #B0DB47 #47DBBC
square
#7247DB #DB4766 #B0DB47 #47DBBC
split-complementary
#7247DB #DBBC47 #66DB47
monochromatic
#3C1B8C #5225BF #7247DB #997AE5 #C0ADEF

Accessibility & contrast

On white

5.77
#7247DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7247DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7247DB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7247DB#FFFFFF#000000##FFFFFF
##7247DB1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#506C8B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7247db;
/* rgb */ color: rgb(114, 71, 219);
/* oklch */ color: oklch(53.2% 0.213 290.7);
Tailwind
colors: {
  custom: {
    50: '#a37de7',
    500: '#7247db',
    950: '#000000',
  },
}
SCSS
$custom: #7247db;
$custom-light: #a37de7;
$custom-dark: #000000;
JSON
{
  "hex": "#7247db",
  "rgb": {
    "r": 114,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 257.432,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53195,
    "c": 0.2128,
    "h": 290.7
  },
  "luminance": 0.13198
}

Semantic roles & 50–950 ramp

primary
#7247DB
secondary
#CCDDA1
accent
#EA3EB8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7247DB

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

Preview Lab → · Contrast checker → · Palette generator →

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