#7052FF#7052FF

#7052FF is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.5% C 0.242 H 283.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7052FF
RGBrgb(112, 82, 255)
HSLhsl(250, 100%, 66%)
HSVhsv(250, 68%, 100%)
CMYKcmyk(56.1%, 67.8%, 0%, 0%)
CIE-LABlab(47.88, 56.34, -81.88)
CIE-LCHlch(47.88, 99.39, 304.53°)
OKLaboklab(57.5% 0.0572 -0.2356)
OKLCHoklch(57.5% 0.242 283.6)
XYZxyz(27.7438, 16.6976, 96.3494)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052FF #E1FF52
analogous
#528AFF #7052FF #C752FF
triadic
#7052FF #FF7052 #52FF70
tetradic
#7052FF #FF528A #E1FF52 #52FFC7
square
#7052FF #FF528A #E1FF52 #52FFC7
split-complementary
#7052FF #FFC752 #8AFF52
monochromatic
#2500D7 #3D15FF #7052FF #A38FFF #D5CCFF

Accessibility & contrast

On white

4.84
#7052FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7052FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052FF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052FF#FFFFFF#000000##FFFFFF
##7052FF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#006CFC
Tritanopia (blue-blind)
#257FA2
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7052ff;
/* rgb */ color: rgb(112, 82, 255);
/* oklch */ color: oklch(57.5% 0.242 283.6);
Tailwind
colors: {
  custom: {
    50: '#a685ff',
    500: '#7052ff',
    950: '#000000',
  },
}
SCSS
$custom: #7052ff;
$custom-light: #a685ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7052ff",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 250.405,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57498,
    "c": 0.24249,
    "h": 283.6
  },
  "luminance": 0.16699
}

Semantic roles & 50–950 ramp

primary
#7052FF
secondary
#E9F3BA
accent
#E600BE
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7052FF

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

Preview Lab → · Contrast checker → · Palette generator →

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