#7C2DCF#7C2DCF

#7C2DCF is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.3% C 0.228 H 300.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7C2DCF
RGBrgb(124, 45, 207)
HSLhsl(269, 64%, 49%)
HSVhsv(269, 78%, 81%)
CMYKcmyk(40.1%, 78.3%, 0%, 18.8%)
CIE-LABlab(39.01, 62.78, -69.12)
CIE-LCHlch(39.01, 93.37, 312.25°)
OKLaboklab(50.29% 0.1145 -0.1976)
OKLCHoklch(50.29% 0.228 300.1)
XYZxyz(20.5102, 10.6666, 59.9977)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2DCF #80CF2D
analogous
#2D2FCF #7C2DCF #CD2DCF
triadic
#7C2DCF #CF7C2D #2DCF7C
tetradic
#7C2DCF #CF2D2F #80CF2D #2DCFCD
square
#7C2DCF #CF2D2F #80CF2D #2DCFCD
split-complementary
#7C2DCF #CFCD2D #2FCF2D
monochromatic
#40176A #5E229D #7C2DCF #9B5DDC #BA90E7

Accessibility & contrast

On white

6.70
#7C2DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7C2DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C2DCF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2DCF#FFFFFF#000000##FFFFFF
##7C2DCF1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#68597E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c2dcf;
/* rgb */ color: rgb(124, 45, 207);
/* oklch */ color: oklch(50.3% 0.228 300.1);
Tailwind
colors: {
  custom: {
    50: '#a96fdf',
    500: '#7c2dcf',
    950: '#000000',
  },
}
SCSS
$custom: #7c2dcf;
$custom-light: #a96fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2dcf",
  "rgb": {
    "r": 124,
    "g": 45,
    "b": 207
  },
  "hsl": {
    "h": 269.259,
    "s": 64.286,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50289,
    "c": 0.22838,
    "h": 300.1
  },
  "luminance": 0.10667
}

Semantic roles & 50–950 ramp

primary
#7C2DCF
secondary
#ADD187
accent
#E74196
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7C2DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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