#7052BC#7052BC

#7052BC is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.4% C 0.160 H 293.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7052BC
RGBrgb(112, 82, 188)
HSLhsl(257, 44%, 53%)
HSVhsv(257, 56%, 74%)
CMYKcmyk(40.4%, 56.4%, 0%, 26.3%)
CIE-LABlab(42.93, 37.19, -51.78)
CIE-LCHlch(42.93, 63.75, 305.69°)
OKLaboklab(52.35% 0.0628 -0.1472)
OKLCHoklch(52.35% 0.16 293.1)
XYZxyz(18.7741, 13.1097, 49.1085)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052BC #9EBC52
analogous
#5269BC #7052BC #A552BC
triadic
#7052BC #BC7052 #52BC70
tetradic
#7052BC #BC5269 #9EBC52 #52BCA5
square
#7052BC #BC5269 #9EBC52 #52BCA5
split-complementary
#7052BC #BCA552 #69BC52
monochromatic
#3C296A #543A97 #7052BC #947ECD #B9AADE

Accessibility & contrast

On white

5.80
#7052BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7052BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052BC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052BC#FFFFFF#000000##FFFFFF
##7052BC1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C0
Deuteranopia (green-blind)
#2463BA
Tritanopia (blue-blind)
#5C697F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7052bc;
/* rgb */ color: rgb(112, 82, 188);
/* oklch */ color: oklch(52.4% 0.160 293.1);
Tailwind
colors: {
  custom: {
    50: '#9e83d1',
    500: '#7052bc',
    950: '#000000',
  },
}
SCSS
$custom: #7052bc;
$custom-light: #9e83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7052bc",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 256.981,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52353,
    "c": 0.16002,
    "h": 293.1
  },
  "luminance": 0.1311
}

Semantic roles & 50–950 ramp

primary
#7052BC
secondary
#BFCC9E
accent
#D454B0
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7052BC

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

Preview Lab → · Contrast checker → · Palette generator →

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