#7159C8#7159C8

#7159C8 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.4% C 0.166 H 289.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7159C8
RGBrgb(113, 89, 200)
HSLhsl(253, 50%, 57%)
HSVhsv(253, 56%, 78%)
CMYKcmyk(43.5%, 55.5%, 0%, 21.6%)
CIE-LABlab(45.39, 36.70, -54.77)
CIE-LCHlch(45.39, 65.93, 303.83°)
OKLaboklab(54.45% 0.0559 -0.1559)
OKLCHoklch(54.45% 0.166 289.7)
XYZxyz(20.8048, 14.8249, 56.3977)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159C8 #B0C859
analogous
#5979C8 #7159C8 #A959C8
triadic
#7159C8 #C87159 #59C871
tetradic
#7159C8 #C85979 #B0C859 #59C8A9
square
#7159C8 #C85979 #B0C859 #59C8A9
split-complementary
#7159C8 #C8A959 #79C859
monochromatic
#3C297D #5139AB #7159C8 #9887D7 #C0B5E6

Accessibility & contrast

On white

5.30
#7159C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7159C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159C8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159C8#FFFFFF#000000##FFFFFF
##7159C81.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6ECC
Deuteranopia (green-blind)
#2169C6
Tritanopia (blue-blind)
#577188
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7159c8;
/* rgb */ color: rgb(113, 89, 200);
/* oklch */ color: oklch(54.4% 0.166 289.7);
Tailwind
colors: {
  custom: {
    50: '#9f88d9',
    500: '#7159c8',
    950: '#000000',
  },
}
SCSS
$custom: #7159c8;
$custom-light: #9f88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7159c8",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 252.973,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54445,
    "c": 0.16563,
    "h": 289.7
  },
  "luminance": 0.14826
}

Semantic roles & 50–950 ramp

primary
#7159C8
secondary
#CBD5A8
accent
#DA4EBC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7159C8

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

Preview Lab → · Contrast checker → · Palette generator →

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