#7D17C9#7D17C9

#7D17C9 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.3% C 0.239 H 303.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7D17C9
RGBrgb(125, 23, 201)
HSLhsl(274, 79%, 44%)
HSVhsv(274, 89%, 79%)
CMYKcmyk(37.8%, 88.6%, 0%, 21.2%)
CIE-LABlab(36.35, 68.27, -69.99)
CIE-LCHlch(36.35, 97.77, 314.29°)
OKLaboklab(48.32% 0.1315 -0.2)
OKLCHoklch(48.32% 0.239 303.3)
XYZxyz(19.3039, 9.1898, 56.0038)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D17C9 #63C917
analogous
#2417C9 #7D17C9 #C917BC
triadic
#7D17C9 #C97D17 #17C97D
tetradic
#7D17C9 #C92417 #63C917 #17BCC9
square
#7D17C9 #C92417 #63C917 #17BCC9
split-complementary
#7D17C9 #BCC917 #17C924
monochromatic
#390A5B #5B1192 #7D17C9 #9C35E8 #B76CEE

Accessibility & contrast

On white

7.40
#7D17C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7D17C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D17C9
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D17C9#FFFFFF#000000##FFFFFF
##7D17C91.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CD
Deuteranopia (green-blind)
#0055C6
Tritanopia (blue-blind)
#6D4F77
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d17c9;
/* rgb */ color: rgb(125, 23, 201);
/* oklch */ color: oklch(48.3% 0.239 303.3);
Tailwind
colors: {
  custom: {
    50: '#aa67db',
    500: '#7d17c9',
    950: '#000000',
  },
}
SCSS
$custom: #7d17c9;
$custom-light: #aa67db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d17c9",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 201
  },
  "hsl": {
    "h": 274.382,
    "s": 79.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48316,
    "c": 0.23933,
    "h": 303.3
  },
  "luminance": 0.0919
}

Semantic roles & 50–950 ramp

primary
#7D17C9
secondary
#96D468
accent
#F63286
background
#FBF6FD
surface
#F6EBFB
border
#D0C6D4
text
#110715
muted
#807A83

Preview Lab

Preview with #7D17C9

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

Preview Lab → · Contrast checker → · Palette generator →

#7D17C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva