#7052F2#7052F2

#7052F2 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.4% C 0.227 H 285.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7052F2
RGBrgb(112, 82, 242)
HSLhsl(251, 86%, 64%)
HSVhsv(251, 66%, 95%)
CMYKcmyk(53.7%, 66.1%, 0%, 5.1%)
CIE-LABlab(46.83, 52.60, -76.33)
CIE-LCHlch(46.83, 92.70, 304.57°)
OKLaboklab(56.42% 0.0591 -0.2194)
OKLCHoklch(56.42% 0.227 285.1)
XYZxyz(25.7216, 15.8887, 85.6987)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052F2 #D4F252
analogous
#5284F2 #7052F2 #C052F2
triadic
#7052F2 #F27052 #52F270
tetradic
#7052F2 #F25284 #D4F252 #52F2C0
square
#7052F2 #F25284 #D4F252 #52F2C0
split-complementary
#7052F2 #F2C052 #84F252
monochromatic
#2F0EBC #4119EE #7052F2 #9F8BF6 #CEC4FB

Accessibility & contrast

On white

5.03
#7052F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7052F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052F2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052F2#FFFFFF#000000##FFFFFF
##7052F21.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F7
Deuteranopia (green-blind)
#006AEF
Tritanopia (blue-blind)
#377B9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7052f2;
/* rgb */ color: rgb(112, 82, 242);
/* oklch */ color: oklch(56.4% 0.227 285.1);
Tailwind
colors: {
  custom: {
    50: '#a485f7',
    500: '#7052f2',
    950: '#000000',
  },
}
SCSS
$custom: #7052f2;
$custom-light: #a485f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7052f2",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 242
  },
  "hsl": {
    "h": 251.25,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56421,
    "c": 0.22719,
    "h": 285.1
  },
  "luminance": 0.1589
}

Semantic roles & 50–950 ramp

primary
#7052F2
secondary
#E2ECB4
accent
#E303B9
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7052F2

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

Preview Lab → · Contrast checker → · Palette generator →

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