#7C2CB9#7C2CB9

#7C2CB9 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.208 H 305.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7C2CB9
RGBrgb(124, 44, 185)
HSLhsl(274, 62%, 45%)
HSVhsv(274, 76%, 73%)
CMYKcmyk(33%, 76.2%, 0%, 27.5%)
CIE-LABlab(37.10, 58.10, -59.39)
CIE-LCHlch(37.10, 83.08, 314.37°)
OKLaboklab(48.39% 0.1209 -0.169)
OKLCHoklch(48.39% 0.208 305.6)
XYZxyz(17.9679, 9.5894, 46.7939)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2CB9 #69B92C
analogous
#362CB9 #7C2CB9 #B92CAF
triadic
#7C2CB9 #B97C2C #2CB97C
tetradic
#7C2CB9 #B9362C #69B92C #2CAFB9
square
#7C2CB9 #B9362C #69B92C #2CAFB9
split-complementary
#7C2CB9 #AFB92C #2CB936
monochromatic
#3A1456 #5B2088 #7C2CB9 #9A4DD5 #B67FE1

Accessibility & contrast

On white

7.20
#7C2CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7C2CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2CB9
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2CB9#FFFFFF#000000##FFFFFF
##7C2CB91.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#715071
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7c2cb9;
/* rgb */ color: rgb(124, 44, 185);
/* oklch */ color: oklch(48.4% 0.208 305.6);
Tailwind
colors: {
  custom: {
    50: '#a76ecf',
    500: '#7c2cb9',
    950: '#000000',
  },
}
SCSS
$custom: #7c2cb9;
$custom-light: #a76ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2cb9",
  "rgb": {
    "r": 124,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 274.043,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48393,
    "c": 0.20779,
    "h": 305.6
  },
  "luminance": 0.09589
}

Semantic roles & 50–950 ramp

primary
#7C2CB9
secondary
#9BC978
accent
#E54389
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7C2CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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