#7052CF#7052CF

#7052CF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.7% C 0.184 H 289.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7052CF
RGBrgb(112, 82, 207)
HSLhsl(254, 57%, 57%)
HSVhsv(254, 60%, 81%)
CMYKcmyk(45.9%, 60.4%, 0%, 18.8%)
CIE-LABlab(44.21, 42.55, -60.72)
CIE-LCHlch(44.21, 74.14, 305.02°)
OKLaboklab(53.7% 0.0624 -0.1735)
OKLCHoklch(53.7% 0.184 289.8)
XYZxyz(20.9587, 13.9835, 60.6142)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052CF #B1CF52
analogous
#5273CF #7052CF #AF52CF
triadic
#7052CF #CF7052 #52CF70
tetradic
#7052CF #CF5273 #B1CF52 #52CFAF
square
#7052CF #CF5273 #B1CF52 #52CFAF
split-complementary
#7052CF #CFAF52 #73CF52
monochromatic
#3B2482 #5031B2 #7052CF #9882DC #BFB2EA

Accessibility & contrast

On white

5.53
#7052CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7052CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052CF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052CF#FFFFFF#000000##FFFFFF
##7052CF1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#526F89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7052cf;
/* rgb */ color: rgb(112, 82, 207);
/* oklch */ color: oklch(53.7% 0.184 289.8);
Tailwind
colors: {
  custom: {
    50: '#a084de',
    500: '#7052cf',
    950: '#000000',
  },
}
SCSS
$custom: #7052cf;
$custom-light: #a084de;
$custom-dark: #000000;
JSON
{
  "hex": "#7052cf",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 254.4,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53702,
    "c": 0.18437,
    "h": 289.8
  },
  "luminance": 0.13984
}

Semantic roles & 50–950 ramp

primary
#7052CF
secondary
#CCD8A5
accent
#E048BB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7052CF

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

Preview Lab → · Contrast checker → · Palette generator →

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