#7052F3#7052F3

#7052F3 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.5% C 0.228 H 285.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7052F3
RGBrgb(112, 82, 243)
HSLhsl(251, 87%, 64%)
HSVhsv(251, 66%, 95%)
CMYKcmyk(53.9%, 66.3%, 0%, 4.7%)
CIE-LABlab(46.91, 52.89, -76.76)
CIE-LCHlch(46.91, 93.22, 304.57°)
OKLaboklab(56.5% 0.059 -0.2206)
OKLCHoklch(56.5% 0.228 285)
XYZxyz(25.8722, 15.9489, 86.4918)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052F3 #D5F352
analogous
#5284F3 #7052F3 #C052F3
triadic
#7052F3 #F37052 #52F370
tetradic
#7052F3 #F35284 #D5F352 #52F3C0
square
#7052F3 #F35284 #D5F352 #52F3C0
split-complementary
#7052F3 #F3C052 #84F352
monochromatic
#2E0DBD #4119EF #7052F3 #9F8BF7 #CFC4FB

Accessibility & contrast

On white

5.01
#7052F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7052F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052F3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052F3#FFFFFF#000000##FFFFFF
##7052F31.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F8
Deuteranopia (green-blind)
#006AF0
Tritanopia (blue-blind)
#367B9C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7052f3;
/* rgb */ color: rgb(112, 82, 243);
/* oklch */ color: oklch(56.5% 0.228 285.0);
Tailwind
colors: {
  custom: {
    50: '#a485f8',
    500: '#7052f3',
    950: '#000000',
  },
}
SCSS
$custom: #7052f3;
$custom-light: #a485f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7052f3",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 251.18,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56503,
    "c": 0.22839,
    "h": 285
  },
  "luminance": 0.1595
}

Semantic roles & 50–950 ramp

primary
#7052F3
secondary
#E2EDB4
accent
#E402BA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7052F3

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

Preview Lab → · Contrast checker → · Palette generator →

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