#7059CC#7059CC

#7059CC is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.6% C 0.171 H 288.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7059CC
RGBrgb(112, 89, 204)
HSLhsl(252, 53%, 57%)
HSVhsv(252, 56%, 80%)
CMYKcmyk(45.1%, 56.4%, 0%, 20%)
CIE-LABlab(45.56, 37.63, -56.80)
CIE-LCHlch(45.56, 68.14, 303.52°)
OKLaboklab(54.63% 0.0546 -0.1619)
OKLCHoklch(54.63% 0.171 288.6)
XYZxyz(21.1505, 14.9483, 58.8859)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7059CC #B5CC59
analogous
#597CCC #7059CC #A959CC
triadic
#7059CC #CC7059 #59CC70
tetradic
#7059CC #CC597C #B5CC59 #59CCA9
square
#7059CC #CC597C #B5CC59 #59CCA9
split-complementary
#7059CC #CCA959 #7CCC59
monochromatic
#3A2883 #4F36B1 #7059CC #9888DA #C1B7E9

Accessibility & contrast

On white

5.26
#7059CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7059CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7059CC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7059CC#FFFFFF#000000##FFFFFF
##7059CC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126ED0
Deuteranopia (green-blind)
#1669CA
Tritanopia (blue-blind)
#54728A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7059cc;
/* rgb */ color: rgb(112, 89, 204);
/* oklch */ color: oklch(54.6% 0.171 288.6);
Tailwind
colors: {
  custom: {
    50: '#9f88dc',
    500: '#7059cc',
    950: '#000000',
  },
}
SCSS
$custom: #7059cc;
$custom-light: #9f88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7059cc",
  "rgb": {
    "r": 112,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 252,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54632,
    "c": 0.17091,
    "h": 288.6
  },
  "luminance": 0.14949
}

Semantic roles & 50–950 ramp

primary
#7059CC
secondary
#CED8A9
accent
#DC4BBF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7059CC

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

Preview Lab → · Contrast checker → · Palette generator →

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