#7C2BB3#7C2BB3

#7C2BB3 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.8% C 0.203 H 307.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7C2BB3
RGBrgb(124, 43, 179)
HSLhsl(276, 61%, 44%)
HSVhsv(276, 76%, 70%)
CMYKcmyk(30.7%, 76%, 0%, 29.8%)
CIE-LABlab(36.49, 57.15, -56.81)
CIE-LCHlch(36.49, 80.58, 315.17°)
OKLaboklab(47.83% 0.1231 -0.1614)
OKLCHoklch(47.83% 0.203 307.3)
XYZxyz(17.3110, 9.2677, 43.5160)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2BB3 #62B32B
analogous
#382BB3 #7C2BB3 #B32BA6
triadic
#7C2BB3 #B37C2B #2BB37C
tetradic
#7C2BB3 #B3382B #62B32B #2BA6B3
square
#7C2BB3 #B3382B #62B32B #2BA6B3
split-complementary
#7C2BB3 #A6B32B #2BB338
monochromatic
#381350 #5A1F82 #7C2BB3 #9B48D3 #B679DF

Accessibility & contrast

On white

7.36
#7C2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7C2BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2BB3
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2BB3#FFFFFF#000000##FFFFFF
##7C2BB31.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#734C6E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7c2bb3;
/* rgb */ color: rgb(124, 43, 179);
/* oklch */ color: oklch(47.8% 0.203 307.3);
Tailwind
colors: {
  custom: {
    50: '#a76dcb',
    500: '#7c2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #7c2bb3;
$custom-light: #a76dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2bb3",
  "rgb": {
    "r": 124,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 275.735,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47826,
    "c": 0.203,
    "h": 307.3
  },
  "luminance": 0.09268
}

Semantic roles & 50–950 ramp

primary
#7C2BB3
secondary
#95C773
accent
#E44385
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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