#7052DE#7052DE

#7052DE is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 54.8% C 0.203 H 287.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7052DE
RGBrgb(112, 82, 222)
HSLhsl(253, 68%, 60%)
HSVhsv(253, 63%, 87%)
CMYKcmyk(49.5%, 63.1%, 0%, 12.9%)
CIE-LABlab(45.29, 46.84, -67.54)
CIE-LCHlch(45.29, 82.19, 304.74°)
OKLaboklab(54.83% 0.0614 -0.1935)
OKLCHoklch(54.83% 0.203 287.6)
XYZxyz(22.8803, 14.7522, 70.7349)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052DE #C0DE52
analogous
#527ADE #7052DE #B652DE
triadic
#7052DE #DE7052 #52DE70
tetradic
#7052DE #DE527A #C0DE52 #52DEB6
square
#7052DE #DE527A #C0DE52 #52DEB6
split-complementary
#7052DE #DEB652 #7ADE52
monochromatic
#381D99 #4A27CC #7052DE #9A85E8 #C5B9F2

Accessibility & contrast

On white

5.32
#7052DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7052DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052DE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052DE#FFFFFF#000000##FFFFFF
##7052DE1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE2
Deuteranopia (green-blind)
#0067DB
Tritanopia (blue-blind)
#497491
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7052de;
/* rgb */ color: rgb(112, 82, 222);
/* oklch */ color: oklch(54.8% 0.203 287.6);
Tailwind
colors: {
  custom: {
    50: '#a284e9',
    500: '#7052de',
    950: '#000000',
  },
}
SCSS
$custom: #7052de;
$custom-light: #a284e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7052de",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 252.857,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54832,
    "c": 0.20303,
    "h": 287.6
  },
  "luminance": 0.14753
}

Semantic roles & 50–950 ramp

primary
#7052DE
secondary
#D5E1AB
accent
#EB3DC6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7052DE

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

Preview Lab → · Contrast checker → · Palette generator →

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