#7C2BB8#7C2BB8

#7C2BB8 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.208 H 305.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7C2BB8
RGBrgb(124, 43, 184)
HSLhsl(274, 62%, 45%)
HSVhsv(274, 77%, 72%)
CMYKcmyk(32.6%, 76.6%, 0%, 27.8%)
CIE-LABlab(36.88, 58.27, -59.14)
CIE-LCHlch(36.88, 83.03, 314.57°)
OKLaboklab(48.22% 0.122 -0.1683)
OKLCHoklch(48.22% 0.208 305.9)
XYZxyz(17.8259, 9.4737, 46.2276)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2BB8 #67B82B
analogous
#352BB8 #7C2BB8 #B82BAE
triadic
#7C2BB8 #B87C2B #2BB87C
tetradic
#7C2BB8 #B8352B #67B82B #2BAEB8
square
#7C2BB8 #B8352B #67B82B #2BAEB8
split-complementary
#7C2BB8 #AEB82B #2BB835
monochromatic
#391455 #5B1F86 #7C2BB8 #9A4BD5 #B67DE1

Accessibility & contrast

On white

7.25
#7C2BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7C2BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2BB8
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2BB8#FFFFFF#000000##FFFFFF
##7C2BB81.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#714F70
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7c2bb8;
/* rgb */ color: rgb(124, 43, 184);
/* oklch */ color: oklch(48.2% 0.208 305.9);
Tailwind
colors: {
  custom: {
    50: '#a76dce',
    500: '#7c2bb8',
    950: '#000000',
  },
}
SCSS
$custom: #7c2bb8;
$custom-light: #a76dce;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2bb8",
  "rgb": {
    "r": 124,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 274.468,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48219,
    "c": 0.20785,
    "h": 305.9
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#7C2BB8
secondary
#99C976
accent
#E54388
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7C2BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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