#7C2BB0#7C2BB0

#7C2BB0 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.200 H 308.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7C2BB0
RGBrgb(124, 43, 176)
HSLhsl(277, 61%, 43%)
HSVhsv(277, 76%, 69%)
CMYKcmyk(29.5%, 75.6%, 0%, 31%)
CIE-LABlab(36.27, 56.48, -55.40)
CIE-LCHlch(36.27, 79.12, 315.56°)
OKLaboklab(47.6% 0.1237 -0.1573)
OKLCHoklch(47.6% 0.2 308.2)
XYZxyz(17.0109, 9.1477, 41.9354)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2BB0 #5FB02B
analogous
#392BB0 #7C2BB0 #B02BA2
triadic
#7C2BB0 #B07C2B #2BB07C
tetradic
#7C2BB0 #B0392B #5FB02B #2BA2B0
square
#7C2BB0 #B0392B #5FB02B #2BA2B0
split-complementary
#7C2BB0 #A2B02B #2BB039
monochromatic
#37134E #591F7F #7C2BB0 #9B46D2 #B678DE

Accessibility & contrast

On white

7.42
#7C2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7C2BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2BB0
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2BB0#FFFFFF#000000##FFFFFF
##7C2BB01.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#744B6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7c2bb0;
/* rgb */ color: rgb(124, 43, 176);
/* oklch */ color: oklch(47.6% 0.200 308.2);
Tailwind
colors: {
  custom: {
    50: '#a76dc8',
    500: '#7c2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #7c2bb0;
$custom-light: #a76dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2bb0",
  "rgb": {
    "r": 124,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 276.541,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47595,
    "c": 0.20008,
    "h": 308.2
  },
  "luminance": 0.09147
}

Semantic roles & 50–950 ramp

primary
#7C2BB0
secondary
#92C671
accent
#E44482
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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