#7C2BBE#7C2BBE

#7C2BBE is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.214 H 304.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7C2BBE
RGBrgb(124, 43, 190)
HSLhsl(273, 63%, 46%)
HSVhsv(273, 77%, 75%)
CMYKcmyk(34.7%, 77.4%, 0%, 25.5%)
CIE-LABlab(37.35, 59.62, -61.91)
CIE-LCHlch(37.35, 85.95, 313.92°)
OKLaboklab(48.7% 0.1206 -0.1764)
OKLCHoklch(48.7% 0.214 304.3)
XYZxyz(18.4682, 9.7306, 49.6105)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2BBE #6DBE2B
analogous
#322BBE #7C2BBE #BE2BB6
triadic
#7C2BBE #BE7C2B #2BBE7C
tetradic
#7C2BBE #BE322B #6DBE2B #2BB6BE
square
#7C2BBE #BE322B #6DBE2B #2BB6BE
split-complementary
#7C2BBE #B6BE2B #2BBE32
monochromatic
#3B145A #5B208C #7C2BBE #9A4FD7 #B781E2

Accessibility & contrast

On white

7.13
#7C2BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7C2BBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2BBE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2BBE#FFFFFF#000000##FFFFFF
##7C2BBE1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#6F5174
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7c2bbe;
/* rgb */ color: rgb(124, 43, 190);
/* oklch */ color: oklch(48.7% 0.214 304.3);
Tailwind
colors: {
  custom: {
    50: '#a86ed3',
    500: '#7c2bbe',
    950: '#000000',
  },
}
SCSS
$custom: #7c2bbe;
$custom-light: #a86ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2bbe",
  "rgb": {
    "r": 124,
    "g": 43,
    "b": 190
  },
  "hsl": {
    "h": 273.061,
    "s": 63.09,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48698,
    "c": 0.21368,
    "h": 304.3
  },
  "luminance": 0.09731
}

Semantic roles & 50–950 ramp

primary
#7C2BBE
secondary
#9ECB7A
accent
#E6428C
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C2BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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