#7C1FD5#7C1FD5

#7C1FD5 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.7% C 0.245 H 299.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7C1FD5
RGBrgb(124, 31, 213)
HSLhsl(271, 75%, 48%)
HSVhsv(271, 85%, 84%)
CMYKcmyk(41.8%, 85.4%, 0%, 16.5%)
CIE-LABlab(37.97, 68.74, -74.30)
CIE-LCHlch(37.97, 101.22, 312.77°)
OKLaboklab(49.73% 0.1216 -0.2127)
OKLCHoklch(49.73% 0.245 299.8)
XYZxyz(20.8094, 10.0689, 63.7850)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1FD5 #78D51F
analogous
#211FD5 #7C1FD5 #D51FD3
triadic
#7C1FD5 #D57C1F #1FD57C
tetradic
#7C1FD5 #D5211F #78D51F #1FD3D5
square
#7C1FD5 #D5211F #78D51F #1FD3D5
split-complementary
#7C1FD5 #D3D51F #1FD521
monochromatic
#3E0F6A #5D17A0 #7C1FD5 #9A4CE5 #B882ED

Accessibility & contrast

On white

6.97
#7C1FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7C1FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C1FD5
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1FD5#FFFFFF#000000##FFFFFF
##7C1FD51.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059DA
Deuteranopia (green-blind)
#0058D2
Tritanopia (blue-blind)
#66577F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c1fd5;
/* rgb */ color: rgb(124, 31, 213);
/* oklch */ color: oklch(49.7% 0.245 299.8);
Tailwind
colors: {
  custom: {
    50: '#ab6ae3',
    500: '#7c1fd5',
    950: '#000000',
  },
}
SCSS
$custom: #7c1fd5;
$custom-light: #ab6ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1fd5",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 213
  },
  "hsl": {
    "h": 270.659,
    "s": 74.59,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49725,
    "c": 0.24503,
    "h": 299.8
  },
  "luminance": 0.10069
}

Semantic roles & 50–950 ramp

primary
#7C1FD5
secondary
#A7D57A
accent
#F13792
background
#FBF6FE
surface
#F6ECFC
border
#D0C7D5
text
#110716
muted
#807A84

Preview Lab

Preview with #7C1FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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