#7159DB#7159DB

#7159DB is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.8% C 0.190 H 287.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7159DB
RGBrgb(113, 89, 219)
HSLhsl(251, 64%, 60%)
HSVhsv(251, 59%, 86%)
CMYKcmyk(48.4%, 59.4%, 0%, 14.1%)
CIE-LABlab(46.67, 42.19, -63.59)
CIE-LCHlch(46.67, 76.32, 303.56°)
OKLaboklab(55.79% 0.0557 -0.1819)
OKLCHoklch(55.79% 0.19 287)
XYZxyz(23.1649, 15.7689, 68.8272)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159DB #C3DB59
analogous
#5982DB #7159DB #B259DB
triadic
#7159DB #DB7159 #59DB71
tetradic
#7159DB #DB5982 #C3DB59 #59DBB2
square
#7159DB #DB5982 #C3DB59 #59DBB2
split-complementary
#7159DB #DBB259 #82DB59
monochromatic
#372199 #492CCB #7159DB #9C8BE6 #C7BEF1

Accessibility & contrast

On white

5.06
#7159DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7159DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159DB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159DB#FFFFFF#000000##FFFFFF
##7159DB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#4C7791
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7159db;
/* rgb */ color: rgb(113, 89, 219);
/* oklch */ color: oklch(55.8% 0.190 287.0);
Tailwind
colors: {
  custom: {
    50: '#a189e7',
    500: '#7159db',
    950: '#000000',
  },
}
SCSS
$custom: #7159db;
$custom-light: #a189e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7159db",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 251.077,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55791,
    "c": 0.19021,
    "h": 287
  },
  "luminance": 0.1577
}

Semantic roles & 50–950 ramp

primary
#7159DB
secondary
#D8E1AF
accent
#CC19AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7159DB

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

Preview Lab → · Contrast checker → · Palette generator →

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