#7159CB#7159CB

#7159CB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.7% C 0.170 H 289.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7159CB
RGBrgb(113, 89, 203)
HSLhsl(253, 52%, 57%)
HSVhsv(253, 56%, 80%)
CMYKcmyk(44.3%, 56.2%, 0%, 20.4%)
CIE-LABlab(45.59, 37.57, -56.18)
CIE-LCHlch(45.59, 67.58, 303.77°)
OKLaboklab(54.65% 0.0559 -0.1601)
OKLCHoklch(54.65% 0.17 289.2)
XYZxyz(21.1589, 14.9665, 58.2623)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159CB #B3CB59
analogous
#597ACB #7159CB #AA59CB
triadic
#7159CB #CB7159 #59CB71
tetradic
#7159CB #CB597A #B3CB59 #59CBAA
square
#7159CB #CB597A #B3CB59 #59CBAA
split-complementary
#7159CB #CBAA59 #7ACB59
monochromatic
#3B2881 #5037B0 #7159CB #9988DA #C1B6E8

Accessibility & contrast

On white

5.26
#7159CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7159CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159CB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159CB#FFFFFF#000000##FFFFFF
##7159CB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166ECF
Deuteranopia (green-blind)
#1A69C9
Tritanopia (blue-blind)
#567289
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7159cb;
/* rgb */ color: rgb(113, 89, 203);
/* oklch */ color: oklch(54.7% 0.170 289.2);
Tailwind
colors: {
  custom: {
    50: '#9f88db',
    500: '#7159cb',
    950: '#000000',
  },
}
SCSS
$custom: #7159cb;
$custom-light: #9f88db;
$custom-dark: #000000;
JSON
{
  "hex": "#7159cb",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 252.632,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54651,
    "c": 0.16957,
    "h": 289.2
  },
  "luminance": 0.14967
}

Semantic roles & 50–950 ramp

primary
#7159CB
secondary
#CDD7A9
accent
#DC4CBD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7159CB

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

Preview Lab → · Contrast checker → · Palette generator →

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