#7159CE#7159CE

#7159CE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.9% C 0.173 H 288.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7159CE
RGBrgb(113, 89, 206)
HSLhsl(252, 54%, 58%)
HSVhsv(252, 57%, 81%)
CMYKcmyk(45.1%, 56.8%, 0%, 19.2%)
CIE-LABlab(45.79, 38.43, -57.59)
CIE-LCHlch(45.79, 69.23, 303.71°)
OKLaboklab(54.86% 0.0559 -0.1642)
OKLCHoklch(54.86% 0.173 288.8)
XYZxyz(21.5198, 15.1109, 60.1634)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159CE #B6CE59
analogous
#597BCE #7159CE #AC59CE
triadic
#7159CE #CE7159 #59CE71
tetradic
#7159CE #CE597B #B6CE59 #59CEAC
square
#7159CE #CE597B #B6CE59 #59CEAC
split-complementary
#7159CE #CEAC59 #7BCE59
monochromatic
#3B2785 #4F35B5 #7159CE #9988DC #C2B8EA

Accessibility & contrast

On white

5.22
#7159CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7159CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159CE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159CE#FFFFFF#000000##FFFFFF
##7159CE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6FD2
Deuteranopia (green-blind)
#126ACB
Tritanopia (blue-blind)
#54738B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7159ce;
/* rgb */ color: rgb(113, 89, 206);
/* oklch */ color: oklch(54.9% 0.173 288.8);
Tailwind
colors: {
  custom: {
    50: '#a089de',
    500: '#7159ce',
    950: '#000000',
  },
}
SCSS
$custom: #7159ce;
$custom-light: #a089de;
$custom-dark: #000000;
JSON
{
  "hex": "#7159ce",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 252.308,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5486,
    "c": 0.17349,
    "h": 288.8
  },
  "luminance": 0.15112
}

Semantic roles & 50–950 ramp

primary
#7159CE
secondary
#CFD9AA
accent
#DE4ABF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7159CE

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

Preview Lab → · Contrast checker → · Palette generator →

#7159CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva