#7052BB#7052BB

#7052BB is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.3% C 0.159 H 293.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7052BB
RGBrgb(112, 82, 187)
HSLhsl(257, 44%, 53%)
HSVhsv(257, 56%, 73%)
CMYKcmyk(40.1%, 56.1%, 0%, 26.7%)
CIE-LABlab(42.86, 36.91, -51.30)
CIE-LCHlch(42.86, 63.20, 305.74°)
OKLaboklab(52.29% 0.0628 -0.1458)
OKLCHoklch(52.29% 0.159 293.3)
XYZxyz(18.6666, 13.0667, 48.5427)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052BB #9DBB52
analogous
#5268BB #7052BB #A452BB
triadic
#7052BB #BB7052 #52BB70
tetradic
#7052BB #BB5268 #9DBB52 #52BBA4
square
#7052BB #BB5268 #9DBB52 #52BBA4
split-complementary
#7052BB #BBA452 #68BB52
monochromatic
#3C2969 #543B95 #7052BB #947ECC #B9AADE

Accessibility & contrast

On white

5.81
#7052BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7052BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052BB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052BB#FFFFFF#000000##FFFFFF
##7052BB1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C66BF
Deuteranopia (green-blind)
#2563B9
Tritanopia (blue-blind)
#5C687E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7052bb;
/* rgb */ color: rgb(112, 82, 187);
/* oklch */ color: oklch(52.3% 0.159 293.3);
Tailwind
colors: {
  custom: {
    50: '#9e83d0',
    500: '#7052bb',
    950: '#000000',
  },
}
SCSS
$custom: #7052bb;
$custom-light: #9e83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7052bb",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 257.143,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52285,
    "c": 0.15872,
    "h": 293.3
  },
  "luminance": 0.13067
}

Semantic roles & 50–950 ramp

primary
#7052BB
secondary
#BECB9E
accent
#D354AF
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7052BB

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

Preview Lab → · Contrast checker → · Palette generator →

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