#7159CC#7159CC

#7159CC is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.7% C 0.171 H 289.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7159CC
RGBrgb(113, 89, 204)
HSLhsl(253, 53%, 57%)
HSVhsv(253, 56%, 80%)
CMYKcmyk(44.6%, 56.4%, 0%, 20%)
CIE-LABlab(45.65, 37.85, -56.65)
CIE-LCHlch(45.65, 68.14, 303.75°)
OKLaboklab(54.72% 0.0559 -0.1615)
OKLCHoklch(54.72% 0.171 289.1)
XYZxyz(21.2784, 15.0143, 58.8919)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159CC #B4CC59
analogous
#597ACC #7159CC #AB59CC
triadic
#7159CC #CC7159 #59CC71
tetradic
#7159CC #CC597A #B4CC59 #59CCAB
square
#7159CC #CC597A #B4CC59 #59CCAB
split-complementary
#7159CC #CCAB59 #7ACC59
monochromatic
#3B2883 #5036B1 #7159CC #9988DA #C1B7E9

Accessibility & contrast

On white

5.25
#7159CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7159CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159CC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159CC#FFFFFF#000000##FFFFFF
##7159CC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136ED0
Deuteranopia (green-blind)
#1869CA
Tritanopia (blue-blind)
#55728A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7159cc;
/* rgb */ color: rgb(113, 89, 204);
/* oklch */ color: oklch(54.7% 0.171 289.1);
Tailwind
colors: {
  custom: {
    50: '#a088dc',
    500: '#7159cc',
    950: '#000000',
  },
}
SCSS
$custom: #7159cc;
$custom-light: #a088dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7159cc",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 252.522,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5472,
    "c": 0.17088,
    "h": 289.1
  },
  "luminance": 0.15015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7159CC

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

Preview Lab → · Contrast checker → · Palette generator →

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