#7C1EC9#7C1EC9

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

Color values

HEX#7C1EC9
RGBrgb(124, 30, 201)
HSLhsl(273, 74%, 45%)
HSVhsv(273, 85%, 79%)
CMYKcmyk(38.3%, 85.1%, 0%, 21.2%)
CIE-LABlab(36.80, 66.38, -69.25)
CIE-LCHlch(36.80, 95.93, 313.79°)
OKLaboklab(48.6% 0.1264 -0.1979)
OKLCHoklch(48.6% 0.235 302.6)
XYZxyz(19.3165, 9.4306, 56.0496)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1EC9 #6BC91E
analogous
#261EC9 #7C1EC9 #C91EC1
triadic
#7C1EC9 #C97C1E #1EC97C
tetradic
#7C1EC9 #C9261E #6BC91E #1EC1C9
square
#7C1EC9 #C9261E #6BC91E #1EC1C9
split-complementary
#7C1EC9 #C1C91E #1EC926
monochromatic
#3A0E5E #5B1694 #7C1EC9 #9A41E3 #B677EB

Accessibility & contrast

On white

7.28
#7C1EC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7C1EC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1EC9
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1EC9#FFFFFF#000000##FFFFFF
##7C1EC91.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1ec9;
/* rgb */ color: rgb(124, 30, 201);
/* oklch */ color: oklch(48.6% 0.235 302.6);
Tailwind
colors: {
  custom: {
    50: '#a969db',
    500: '#7c1ec9',
    950: '#000000',
  },
}
SCSS
$custom: #7c1ec9;
$custom-light: #a969db;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1ec9",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 201
  },
  "hsl": {
    "h": 272.982,
    "s": 74.026,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48598,
    "c": 0.23483,
    "h": 302.6
  },
  "luminance": 0.09431
}

Semantic roles & 50–950 ramp

primary
#7C1EC9
secondary
#9DD271
accent
#F1378B
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110715
muted
#807A83

Preview Lab

Preview with #7C1EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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