#7052DF#7052DF

#7052DF is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 54.9% C 0.204 H 287.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7052DF
RGBrgb(112, 82, 223)
HSLhsl(253, 69%, 60%)
HSVhsv(253, 63%, 87%)
CMYKcmyk(49.8%, 63.2%, 0%, 12.5%)
CIE-LABlab(45.37, 47.13, -67.99)
CIE-LCHlch(45.37, 82.72, 304.73°)
OKLaboklab(54.91% 0.0613 -0.1948)
OKLCHoklch(54.91% 0.204 287.5)
XYZxyz(23.0148, 14.8060, 71.4429)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052DF #C1DF52
analogous
#527BDF #7052DF #B752DF
triadic
#7052DF #DF7052 #52DF70
tetradic
#7052DF #DF527B #C1DF52 #52DFB7
square
#7052DF #DF527B #C1DF52 #52DFB7
split-complementary
#7052DF #DFB752 #7BDF52
monochromatic
#371D9A #4A26CE #7052DF #9B86E9 #C5B9F2

Accessibility & contrast

On white

5.30
#7052DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7052DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052DF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052DF#FFFFFF#000000##FFFFFF
##7052DF1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#487491
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7052df;
/* rgb */ color: rgb(112, 82, 223);
/* oklch */ color: oklch(54.9% 0.204 287.5);
Tailwind
colors: {
  custom: {
    50: '#a284ea',
    500: '#7052df',
    950: '#000000',
  },
}
SCSS
$custom: #7052df;
$custom-light: #a284ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7052df",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 252.766,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5491,
    "c": 0.20426,
    "h": 287.5
  },
  "luminance": 0.14807
}

Semantic roles & 50–950 ramp

primary
#7052DF
secondary
#D6E2AB
accent
#EC3CC6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7052DF

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

Preview Lab → · Contrast checker → · Palette generator →

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