#7059CA#7059CA

#7059CA is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.5% C 0.168 H 288.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7059CA
RGBrgb(112, 89, 202)
HSLhsl(252, 52%, 57%)
HSVhsv(252, 56%, 79%)
CMYKcmyk(44.6%, 55.9%, 0%, 20.8%)
CIE-LABlab(45.43, 37.06, -55.86)
CIE-LCHlch(45.43, 67.04, 303.56°)
OKLaboklab(54.49% 0.0546 -0.1592)
OKLCHoklch(54.49% 0.168 288.9)
XYZxyz(20.9121, 14.8530, 57.6307)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7059CA #B3CA59
analogous
#597BCA #7059CA #A859CA
triadic
#7059CA #CA7059 #59CA70
tetradic
#7059CA #CA597B #B3CA59 #59CAA8
square
#7059CA #CA597B #B3CA59 #59CAA8
split-complementary
#7059CA #CAA859 #7BCA59
monochromatic
#3B2980 #5038AE #7059CA #9887D9 #C0B6E8

Accessibility & contrast

On white

5.29
#7059CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7059CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7059CA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7059CA#FFFFFF#000000##FFFFFF
##7059CA1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176ECE
Deuteranopia (green-blind)
#1B69C8
Tritanopia (blue-blind)
#557289
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7059ca;
/* rgb */ color: rgb(112, 89, 202);
/* oklch */ color: oklch(54.5% 0.168 288.9);
Tailwind
colors: {
  custom: {
    50: '#9f88db',
    500: '#7059ca',
    950: '#000000',
  },
}
SCSS
$custom: #7059ca;
$custom-light: #9f88db;
$custom-dark: #000000;
JSON
{
  "hex": "#7059ca",
  "rgb": {
    "r": 112,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 252.212,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54493,
    "c": 0.16829,
    "h": 288.9
  },
  "luminance": 0.14854
}

Semantic roles & 50–950 ramp

primary
#7059CA
secondary
#CDD6A8
accent
#DB4DBE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7059CA

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

Preview Lab → · Contrast checker → · Palette generator →

#7059CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva