#7052BF#7052BF

#7052BF is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.6% C 0.164 H 292.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7052BF
RGBrgb(112, 82, 191)
HSLhsl(257, 46%, 54%)
HSVhsv(257, 57%, 75%)
CMYKcmyk(41.4%, 57.1%, 0%, 25.1%)
CIE-LABlab(43.12, 38.03, -53.21)
CIE-LCHlch(43.12, 65.40, 305.55°)
OKLaboklab(52.56% 0.0628 -0.1514)
OKLCHoklch(52.56% 0.164 292.5)
XYZxyz(19.1008, 13.2404, 50.8294)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052BF #A1BF52
analogous
#526ABF #7052BF #A652BF
triadic
#7052BF #BF7052 #52BF70
tetradic
#7052BF #BF526A #A1BF52 #52BFA6
square
#7052BF #BF526A #A1BF52 #52BFA6
split-complementary
#7052BF #BFA652 #6ABF52
monochromatic
#3C296E #54399B #7052BF #957FD0 #BAABE0

Accessibility & contrast

On white

5.76
#7052BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7052BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052BF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052BF#FFFFFF#000000##FFFFFF
##7052BF1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1467C3
Deuteranopia (green-blind)
#1F64BD
Tritanopia (blue-blind)
#5B6A80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7052bf;
/* rgb */ color: rgb(112, 82, 191);
/* oklch */ color: oklch(52.6% 0.164 292.5);
Tailwind
colors: {
  custom: {
    50: '#9e83d3',
    500: '#7052bf',
    950: '#000000',
  },
}
SCSS
$custom: #7052bf;
$custom-light: #9e83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7052bf",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 256.514,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52559,
    "c": 0.16392,
    "h": 292.5
  },
  "luminance": 0.13241
}

Semantic roles & 50–950 ramp

primary
#7052BF
secondary
#C1CE9F
accent
#D652B1
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7052BF

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

Preview Lab → · Contrast checker → · Palette generator →

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