#7C1DC9#7C1DC9

#7C1DC9 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.5% C 0.236 H 302.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7C1DC9
RGBrgb(124, 29, 201)
HSLhsl(273, 75%, 45%)
HSVhsv(273, 86%, 79%)
CMYKcmyk(38.3%, 85.6%, 0%, 21.2%)
CIE-LABlab(36.71, 66.65, -69.41)
CIE-LCHlch(36.71, 96.23, 313.84°)
OKLaboklab(48.53% 0.127 -0.1983)
OKLCHoklch(48.53% 0.236 302.6)
XYZxyz(19.2916, 9.3808, 56.0413)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1DC9 #6AC91D
analogous
#261DC9 #7C1DC9 #C91DC0
triadic
#7C1DC9 #C97C1D #1DC97C
tetradic
#7C1DC9 #C9261D #6AC91D #1DC0C9
square
#7C1DC9 #C9261D #6AC91D #1DC0C9
split-complementary
#7C1DC9 #C0C91D #1DC926
monochromatic
#3A0E5E #5B1594 #7C1DC9 #9A40E3 #B675EB

Accessibility & contrast

On white

7.30
#7C1DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7C1DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1DC9
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1DC9#FFFFFF#000000##FFFFFF
##7C1DC91.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#0056C6
Tritanopia (blue-blind)
#6B5178
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7c1dc9;
/* rgb */ color: rgb(124, 29, 201);
/* oklch */ color: oklch(48.5% 0.236 302.6);
Tailwind
colors: {
  custom: {
    50: '#aa69db',
    500: '#7c1dc9',
    950: '#000000',
  },
}
SCSS
$custom: #7c1dc9;
$custom-light: #aa69db;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1dc9",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 201
  },
  "hsl": {
    "h": 273.14,
    "s": 74.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48534,
    "c": 0.23551,
    "h": 302.6
  },
  "luminance": 0.09381
}

Semantic roles & 50–950 ramp

primary
#7C1DC9
secondary
#9CD270
accent
#F1368A
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110715
muted
#807A83

Preview Lab

Preview with #7C1DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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