#7159CD#7159CD

#7159CD is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.8% C 0.172 H 288.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7159CD
RGBrgb(113, 89, 205)
HSLhsl(252, 54%, 58%)
HSVhsv(252, 57%, 80%)
CMYKcmyk(44.9%, 56.6%, 0%, 19.6%)
CIE-LABlab(45.72, 38.14, -57.12)
CIE-LCHlch(45.72, 68.69, 303.73°)
OKLaboklab(54.79% 0.0559 -0.1628)
OKLCHoklch(54.79% 0.172 288.9)
XYZxyz(21.3988, 15.0624, 59.5256)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159CD #B5CD59
analogous
#597BCD #7159CD #AB59CD
triadic
#7159CD #CD7159 #59CD71
tetradic
#7159CD #CD597B #B5CD59 #59CDAB
square
#7159CD #CD597B #B5CD59 #59CDAB
split-complementary
#7159CD #CDAB59 #7BCD59
monochromatic
#3B2884 #5036B3 #7159CD #9988DB #C1B7E9

Accessibility & contrast

On white

5.23
#7159CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7159CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159CD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159CD#FFFFFF#000000##FFFFFF
##7159CD1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106FD1
Deuteranopia (green-blind)
#1569CA
Tritanopia (blue-blind)
#55738A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7159cd;
/* rgb */ color: rgb(113, 89, 205);
/* oklch */ color: oklch(54.8% 0.172 288.9);
Tailwind
colors: {
  custom: {
    50: '#a089dd',
    500: '#7159cd',
    950: '#000000',
  },
}
SCSS
$custom: #7159cd;
$custom-light: #a089dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7159cd",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 205
  },
  "hsl": {
    "h": 252.414,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5479,
    "c": 0.17218,
    "h": 288.9
  },
  "luminance": 0.15063
}

Semantic roles & 50–950 ramp

primary
#7159CD
secondary
#CFD8AA
accent
#DD4BBF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7159CD

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

Preview Lab → · Contrast checker → · Palette generator →

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