#7052DA#7052DA

#7052DA is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.5% C 0.198 H 288.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7052DA
RGBrgb(112, 82, 218)
HSLhsl(253, 65%, 59%)
HSVhsv(253, 62%, 85%)
CMYKcmyk(48.6%, 62.4%, 0%, 14.5%)
CIE-LABlab(45.00, 45.69, -65.74)
CIE-LCHlch(45.00, 80.06, 304.80°)
OKLaboklab(54.53% 0.0617 -0.1882)
OKLCHoklch(54.53% 0.198 288.2)
XYZxyz(22.3506, 14.5403, 67.9450)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052DA #BCDA52
analogous
#5278DA #7052DA #B452DA
triadic
#7052DA #DA7052 #52DA70
tetradic
#7052DA #DA5278 #BCDA52 #52DAB4
square
#7052DA #DA5278 #BCDA52 #52DAB4
split-complementary
#7052DA #DAB452 #78DA52
monochromatic
#391F92 #4C2AC5 #7052DA #9A84E5 #C3B7F0

Accessibility & contrast

On white

5.37
#7052DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7052DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052DA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052DA#FFFFFF#000000##FFFFFF
##7052DA1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#4C728E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7052da;
/* rgb */ color: rgb(112, 82, 218);
/* oklch */ color: oklch(54.5% 0.198 288.2);
Tailwind
colors: {
  custom: {
    50: '#a184e6',
    500: '#7052da',
    950: '#000000',
  },
}
SCSS
$custom: #7052da;
$custom-light: #a184e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7052da",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 253.235,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54526,
    "c": 0.1981,
    "h": 288.2
  },
  "luminance": 0.14541
}

Semantic roles & 50–950 ramp

primary
#7052DA
secondary
#D3DFA9
accent
#E840C3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7052DA

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

Preview Lab → · Contrast checker → · Palette generator →

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