#7052DB#7052DB

#7052DB is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.6% C 0.199 H 288.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7052DB
RGBrgb(112, 82, 219)
HSLhsl(253, 66%, 59%)
HSVhsv(253, 63%, 86%)
CMYKcmyk(48.9%, 62.6%, 0%, 14.1%)
CIE-LABlab(45.07, 45.98, -66.19)
CIE-LCHlch(45.07, 80.59, 304.79°)
OKLaboklab(54.6% 0.0616 -0.1896)
OKLCHoklch(54.6% 0.199 288)
XYZxyz(22.4819, 14.5928, 68.6362)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052DB #BDDB52
analogous
#5279DB #7052DB #B552DB
triadic
#7052DB #DB7052 #52DB70
tetradic
#7052DB #DB5279 #BDDB52 #52DBB5
square
#7052DB #DB5279 #BDDB52 #52DBB5
split-complementary
#7052DB #DBB552 #79DB52
monochromatic
#381F94 #4C29C6 #7052DB #9A85E6 #C4B7F0

Accessibility & contrast

On white

5.36
#7052DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7052DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052DB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052DB#FFFFFF#000000##FFFFFF
##7052DB1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#4B738F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7052db;
/* rgb */ color: rgb(112, 82, 219);
/* oklch */ color: oklch(54.6% 0.199 288.0);
Tailwind
colors: {
  custom: {
    50: '#a184e7',
    500: '#7052db',
    950: '#000000',
  },
}
SCSS
$custom: #7052db;
$custom-light: #a184e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7052db",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 253.139,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54602,
    "c": 0.19934,
    "h": 288
  },
  "luminance": 0.14594
}

Semantic roles & 50–950 ramp

primary
#7052DB
secondary
#D4DFAA
accent
#E93FC3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7052DB

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

Preview Lab → · Contrast checker → · Palette generator →

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