#7017A5#7017A5

#7017A5 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.5% C 0.205 H 307.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7017A5
RGBrgb(112, 23, 165)
HSLhsl(278, 76%, 37%)
HSVhsv(278, 86%, 65%)
CMYKcmyk(32.1%, 86.1%, 0%, 35.3%)
CIE-LABlab(31.29, 58.83, -56.99)
CIE-LCHlch(31.29, 81.91, 315.91°)
OKLaboklab(43.48% 0.1252 -0.1622)
OKLCHoklch(43.48% 0.205 307.7)
XYZxyz(13.7786, 6.7743, 36.1717)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7017A5 #4CA517
analogous
#2917A5 #7017A5 #A51793
triadic
#7017A5 #A57017 #17A570
tetradic
#7017A5 #A52917 #4CA517 #1793A5
square
#7017A5 #A52917 #4CA517 #1793A5
split-complementary
#7017A5 #93A517 #17A529
monochromatic
#27083A #4C106F #7017A5 #941EDB #AE50E7

Accessibility & contrast

On white

8.92
#7017A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7017A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7017A5
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7017A5#FFFFFF#000000##FFFFFF
##7017A51.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#674062
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7017a5;
/* rgb */ color: rgb(112, 23, 165);
/* oklch */ color: oklch(43.5% 0.205 307.7);
Tailwind
colors: {
  custom: {
    50: '#9f63c1',
    500: '#7017a5',
    950: '#000000',
  },
}
SCSS
$custom: #7017a5;
$custom-light: #9f63c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7017a5",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 165
  },
  "hsl": {
    "h": 277.606,
    "s": 75.532,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43477,
    "c": 0.20491,
    "h": 307.7
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#7017A5
secondary
#7CC94F
accent
#F2367C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7017A5

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

Preview Lab → · Contrast checker → · Palette generator →

#7017A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva