#7C17C9#7C17C9

#7C17C9 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 48.2% C 0.239 H 302.9°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7C17C9
RGBrgb(124, 23, 201)
HSLhsl(274, 79%, 44%)
HSVhsv(274, 89%, 79%)
CMYKcmyk(38.3%, 88.6%, 0%, 21.2%)
CIE-LABlab(36.20, 68.15, -70.23)
CIE-LCHlch(36.20, 97.86, 314.14°)
OKLaboklab(48.19% 0.13 -0.2007)
OKLCHoklch(48.19% 0.239 302.9)
XYZxyz(19.1587, 9.1149, 55.9970)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C17C9 #64C917
analogous
#2317C9 #7C17C9 #C917BD
triadic
#7C17C9 #C97C17 #17C97C
tetradic
#7C17C9 #C92317 #64C917 #17BDC9
square
#7C17C9 #C92317 #64C917 #17BDC9
split-complementary
#7C17C9 #BDC917 #17C923
monochromatic
#380A5B #5A1192 #7C17C9 #9B35E8 #B66CEE

Accessibility & contrast

On white

7.44
#7C17C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7C17C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C17C9
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C17C9#FFFFFF#000000##FFFFFF
##7C17C91.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c17c9;
/* rgb */ color: rgb(124, 23, 201);
/* oklch */ color: oklch(48.2% 0.239 302.9);
Tailwind
colors: {
  custom: {
    50: '#aa67db',
    500: '#7c17c9',
    950: '#000000',
  },
}
SCSS
$custom: #7c17c9;
$custom-light: #aa67db;
$custom-dark: #000000;
JSON
{
  "hex": "#7c17c9",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 201
  },
  "hsl": {
    "h": 274.045,
    "s": 79.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48189,
    "c": 0.23915,
    "h": 302.9
  },
  "luminance": 0.09115
}

Semantic roles & 50–950 ramp

primary
#7C17C9
secondary
#97D468
accent
#F63287
background
#FBF6FD
surface
#F6EBFB
border
#D0C6D4
text
#110715
muted
#807A83

Preview Lab

Preview with #7C17C9

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

Preview Lab → · Contrast checker → · Palette generator →

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