#7052D2#7052D2

#7052D2 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.9% C 0.188 H 289.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7052D2
RGBrgb(112, 82, 210)
HSLhsl(254, 59%, 57%)
HSVhsv(254, 61%, 82%)
CMYKcmyk(46.7%, 61%, 0%, 17.6%)
CIE-LABlab(44.42, 43.41, -62.10)
CIE-LCHlch(44.42, 75.76, 304.95°)
OKLaboklab(53.92% 0.0623 -0.1775)
OKLCHoklch(53.92% 0.188 289.3)
XYZxyz(21.3289, 14.1316, 62.5641)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052D2 #B4D252
analogous
#5274D2 #7052D2 #B052D2
triadic
#7052D2 #D27052 #52D270
tetradic
#7052D2 #D25274 #B4D252 #52D2B0
square
#7052D2 #D25274 #B4D252 #52D2B0
split-complementary
#7052D2 #D2B052 #74D252
monochromatic
#3A2387 #4F30B7 #7052D2 #9883DF #C0B3EB

Accessibility & contrast

On white

5.49
#7052D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7052D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052D2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052D2#FFFFFF#000000##FFFFFF
##7052D21.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#51708A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7052d2;
/* rgb */ color: rgb(112, 82, 210);
/* oklch */ color: oklch(53.9% 0.188 289.3);
Tailwind
colors: {
  custom: {
    50: '#a084e1',
    500: '#7052d2',
    950: '#000000',
  },
}
SCSS
$custom: #7052d2;
$custom-light: #a084e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7052d2",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 254.063,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53923,
    "c": 0.18813,
    "h": 289.3
  },
  "luminance": 0.14132
}

Semantic roles & 50–950 ramp

primary
#7052D2
secondary
#CEDAA6
accent
#E246BD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7052D2

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

Preview Lab → · Contrast checker → · Palette generator →

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