#7159DD#7159DD

#7159DD is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.9% C 0.193 H 286.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7159DD
RGBrgb(113, 89, 221)
HSLhsl(251, 66%, 61%)
HSVhsv(251, 60%, 87%)
CMYKcmyk(48.9%, 59.7%, 0%, 13.3%)
CIE-LABlab(46.81, 42.77, -64.50)
CIE-LCHlch(46.81, 77.40, 303.55°)
OKLaboklab(55.94% 0.0556 -0.1846)
OKLCHoklch(55.94% 0.193 286.8)
XYZxyz(23.4297, 15.8748, 70.2222)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159DD #C5DD59
analogous
#5983DD #7159DD #B359DD
triadic
#7159DD #DD7159 #59DD71
tetradic
#7159DD #DD5983 #C5DD59 #59DDB3
square
#7159DD #DD5983 #C5DD59 #59DDB3
split-complementary
#7159DD #DDB359 #83DD59
monochromatic
#36209C #482ACF #7159DD #9C8CE7 #C8BFF2

Accessibility & contrast

On white

5.03
#7159DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7159DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159DD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159DD#FFFFFF#000000##FFFFFF
##7159DD1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#4B7892
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7159dd;
/* rgb */ color: rgb(113, 89, 221);
/* oklch */ color: oklch(55.9% 0.193 286.8);
Tailwind
colors: {
  custom: {
    50: '#a289e8',
    500: '#7159dd',
    950: '#000000',
  },
}
SCSS
$custom: #7159dd;
$custom-light: #a289e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7159dd",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 221
  },
  "hsl": {
    "h": 250.909,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55938,
    "c": 0.19275,
    "h": 286.8
  },
  "luminance": 0.15876
}

Semantic roles & 50–950 ramp

primary
#7159DD
secondary
#D9E2B0
accent
#CE18AD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7159DD

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

Preview Lab → · Contrast checker → · Palette generator →

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