#7159DF#7159DF

#7159DF is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.1% C 0.195 H 286.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7159DF
RGBrgb(113, 89, 223)
HSLhsl(251, 68%, 61%)
HSVhsv(251, 60%, 87%)
CMYKcmyk(49.3%, 60.1%, 0%, 12.5%)
CIE-LABlab(46.95, 43.36, -65.41)
CIE-LCHlch(46.95, 78.48, 303.54°)
OKLaboklab(56.09% 0.0555 -0.1872)
OKLCHoklch(56.09% 0.195 286.5)
XYZxyz(23.6978, 15.9821, 71.6339)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159DF #C7DF59
analogous
#5984DF #7159DF #B459DF
triadic
#7159DF #DF7159 #59DF71
tetradic
#7159DF #DF5984 #C7DF59 #59DFB4
square
#7159DF #DF5984 #C7DF59 #59DFB4
split-complementary
#7159DF #DFB459 #84DF59
monochromatic
#361F9F #4729D2 #7159DF #9D8CE9 #C9C0F3

Accessibility & contrast

On white

5.00
#7159DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7159DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159DF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159DF#FFFFFF#000000##FFFFFF
##7159DF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#4A7894
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7159df;
/* rgb */ color: rgb(113, 89, 223);
/* oklch */ color: oklch(56.1% 0.195 286.5);
Tailwind
colors: {
  custom: {
    50: '#a289ea',
    500: '#7159df',
    950: '#000000',
  },
}
SCSS
$custom: #7159df;
$custom-light: #a289ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7159df",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 223
  },
  "hsl": {
    "h": 250.746,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56086,
    "c": 0.19528,
    "h": 286.5
  },
  "luminance": 0.15983
}

Semantic roles & 50–950 ramp

primary
#7159DF
secondary
#DAE3B1
accent
#D016AE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7159DF

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

Preview Lab → · Contrast checker → · Palette generator →

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