#7047DF#7047DF

#7047DF is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.3% C 0.217 H 289.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7047DF
RGBrgb(112, 71, 223)
HSLhsl(256, 70%, 58%)
HSVhsv(256, 68%, 87%)
CMYKcmyk(49.8%, 68.2%, 0%, 12.5%)
CIE-LABlab(43.18, 53.07, -71.55)
CIE-LCHlch(43.18, 89.09, 306.57°)
OKLaboklab(53.33% 0.0717 -0.2053)
OKLCHoklch(53.33% 0.217 289.3)
XYZxyz(22.2508, 13.2780, 71.1882)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047DF #B6DF47
analogous
#476ADF #7047DF #BC47DF
triadic
#7047DF #DF7047 #47DF70
tetradic
#7047DF #DF476A #B6DF47 #47DFBC
square
#7047DF #DF476A #B6DF47 #47DFBC
split-complementary
#7047DF #DFBC47 #6ADF47
monochromatic
#3A1992 #4F22C6 #7047DF #997BE8 #C1AFF1

Accessibility & contrast

On white

5.74
#7047DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7047DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7047DF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7047DF#FFFFFF#000000##FFFFFF
##7047DF1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E4
Deuteranopia (green-blind)
#0062DC
Tritanopia (blue-blind)
#496E8E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7047df;
/* rgb */ color: rgb(112, 71, 223);
/* oklch */ color: oklch(53.3% 0.217 289.3);
Tailwind
colors: {
  custom: {
    50: '#a27dea',
    500: '#7047df',
    950: '#000000',
  },
}
SCSS
$custom: #7047df;
$custom-light: #a27dea;
$custom-dark: #000000;
JSON
{
  "hex": "#7047df",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 223
  },
  "hsl": {
    "h": 256.184,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53333,
    "c": 0.21748,
    "h": 289.3
  },
  "luminance": 0.13279
}

Semantic roles & 50–950 ramp

primary
#7047DF
secondary
#CFDFA2
accent
#ED3BBD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7047DF

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

Preview Lab → · Contrast checker → · Palette generator →

#7047DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva