#7052BE#7052BE

#7052BE is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.5% C 0.163 H 292.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7052BE
RGBrgb(112, 82, 190)
HSLhsl(257, 45%, 53%)
HSVhsv(257, 57%, 75%)
CMYKcmyk(41.1%, 56.8%, 0%, 25.5%)
CIE-LABlab(43.06, 37.75, -52.73)
CIE-LCHlch(43.06, 64.85, 305.60°)
OKLaboklab(52.49% 0.0628 -0.15)
OKLCHoklch(52.49% 0.163 292.7)
XYZxyz(18.9911, 13.1965, 50.2518)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052BE #A0BE52
analogous
#526ABE #7052BE #A652BE
triadic
#7052BE #BE7052 #52BE70
tetradic
#7052BE #BE526A #A0BE52 #52BEA6
square
#7052BE #BE526A #A0BE52 #52BEA6
split-complementary
#7052BE #BEA652 #6ABE52
monochromatic
#3C296D #543A99 #7052BE #957ECF #BAABDF

Accessibility & contrast

On white

5.77
#7052BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7052BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052BE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052BE#FFFFFF#000000##FFFFFF
##7052BE1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1667C2
Deuteranopia (green-blind)
#2064BC
Tritanopia (blue-blind)
#5B6980
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7052be;
/* rgb */ color: rgb(112, 82, 190);
/* oklch */ color: oklch(52.5% 0.163 292.7);
Tailwind
colors: {
  custom: {
    50: '#9e83d2',
    500: '#7052be',
    950: '#000000',
  },
}
SCSS
$custom: #7052be;
$custom-light: #9e83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7052be",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 256.667,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5249,
    "c": 0.16263,
    "h": 292.7
  },
  "luminance": 0.13197
}

Semantic roles & 50–950 ramp

primary
#7052BE
secondary
#C0CD9F
accent
#D553B1
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7052BE

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

Preview Lab → · Contrast checker → · Palette generator →

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