#7C2FCF#7C2FCF

#7C2FCF is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.5% C 0.227 H 299.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7C2FCF
RGBrgb(124, 47, 207)
HSLhsl(269, 63%, 50%)
HSVhsv(269, 77%, 81%)
CMYKcmyk(40.1%, 77.3%, 0%, 18.8%)
CIE-LABlab(39.28, 62.00, -68.68)
CIE-LCHlch(39.28, 92.53, 312.08°)
OKLaboklab(50.48% 0.1129 -0.1963)
OKLCHoklch(50.48% 0.227 299.9)
XYZxyz(20.5883, 10.8229, 60.0237)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2FCF #82CF2F
analogous
#2F32CF #7C2FCF #CC2FCF
triadic
#7C2FCF #CF7C2F #2FCF7C
tetradic
#7C2FCF #CF2F32 #82CF2F #2FCFCC
square
#7C2FCF #CF2F32 #82CF2F #2FCFCC
split-complementary
#7C2FCF #CFCC2F #32CF2F
monochromatic
#40186B #5E249D #7C2FCF #9B60DB #BB92E6

Accessibility & contrast

On white

6.64
#7C2FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7C2FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C2FCF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2FCF#FFFFFF#000000##FFFFFF
##7C2FCF1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#685A7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c2fcf;
/* rgb */ color: rgb(124, 47, 207);
/* oklch */ color: oklch(50.5% 0.227 299.9);
Tailwind
colors: {
  custom: {
    50: '#a970df',
    500: '#7c2fcf',
    950: '#000000',
  },
}
SCSS
$custom: #7c2fcf;
$custom-light: #a970df;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2fcf",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 207
  },
  "hsl": {
    "h": 268.875,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50475,
    "c": 0.2265,
    "h": 299.9
  },
  "luminance": 0.10823
}

Semantic roles & 50–950 ramp

primary
#7C2FCF
secondary
#AED189
accent
#E64297
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7C2FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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