#7C2CBF#7C2CBF

#7C2CBF is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.9% C 0.214 H 304.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7C2CBF
RGBrgb(124, 44, 191)
HSLhsl(273, 63%, 46%)
HSVhsv(273, 77%, 75%)
CMYKcmyk(35.1%, 77%, 0%, 25.1%)
CIE-LABlab(37.57, 59.47, -62.15)
CIE-LCHlch(37.57, 86.01, 313.74°)
OKLaboklab(48.87% 0.1195 -0.1771)
OKLCHoklch(48.87% 0.214 304)
XYZxyz(18.6147, 9.8481, 50.2003)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2CBF #6FBF2C
analogous
#322CBF #7C2CBF #BF2CB8
triadic
#7C2CBF #BF7C2C #2CBF7C
tetradic
#7C2CBF #BF322C #6FBF2C #2CB8BF
square
#7C2CBF #BF322C #6FBF2C #2CB8BF
split-complementary
#7C2CBF #B8BF2C #2CBF32
monochromatic
#3B155C #5C218D #7C2CBF #9A51D7 #B783E2

Accessibility & contrast

On white

7.07
#7C2CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7C2CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2CBF
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2CBF#FFFFFF#000000##FFFFFF
##7C2CBF1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#6F5275
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7c2cbf;
/* rgb */ color: rgb(124, 44, 191);
/* oklch */ color: oklch(48.9% 0.214 304.0);
Tailwind
colors: {
  custom: {
    50: '#a86ed3',
    500: '#7c2cbf',
    950: '#000000',
  },
}
SCSS
$custom: #7c2cbf;
$custom-light: #a86ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2cbf",
  "rgb": {
    "r": 124,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 272.653,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48873,
    "c": 0.21366,
    "h": 304
  },
  "luminance": 0.09848
}

Semantic roles & 50–950 ramp

primary
#7C2CBF
secondary
#A0CC7B
accent
#E6428D
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C2CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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