#7052BA#7052BA

#7052BA is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.2% C 0.157 H 293.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7052BA
RGBrgb(112, 82, 186)
HSLhsl(257, 43%, 53%)
HSVhsv(257, 56%, 73%)
CMYKcmyk(39.8%, 55.9%, 0%, 27.1%)
CIE-LABlab(42.80, 36.63, -50.82)
CIE-LCHlch(42.80, 62.64, 305.79°)
OKLaboklab(52.22% 0.0628 -0.1444)
OKLCHoklch(52.22% 0.157 293.5)
XYZxyz(18.5600, 13.0241, 47.9809)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052BA #9CBA52
analogous
#5268BA #7052BA #A452BA
triadic
#7052BA #BA7052 #52BA70
tetradic
#7052BA #BA5268 #9CBA52 #52BAA4
square
#7052BA #BA5268 #9CBA52 #52BAA4
split-complementary
#7052BA #BAA452 #68BA52
monochromatic
#3C2A68 #553B94 #7052BA #947ECB #B8AADD

Accessibility & contrast

On white

5.83
#7052BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7052BA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052BA#FFFFFF#000000##FFFFFF
##7052BA1.005.833.615.83
#FFFFFF5.831.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E66BD
Deuteranopia (green-blind)
#2763B8
Tritanopia (blue-blind)
#5D687E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7052ba;
/* rgb */ color: rgb(112, 82, 186);
/* oklch */ color: oklch(52.2% 0.157 293.5);
Tailwind
colors: {
  custom: {
    50: '#9d83cf',
    500: '#7052ba',
    950: '#000000',
  },
}
SCSS
$custom: #7052ba;
$custom-light: #9d83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7052ba",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 257.308,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52217,
    "c": 0.15742,
    "h": 293.5
  },
  "luminance": 0.13025
}

Semantic roles & 50–950 ramp

primary
#7052BA
secondary
#BDCA9D
accent
#D355AE
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7052BA

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

Preview Lab → · Contrast checker → · Palette generator →

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