#7C2BBF#7C2BBF

#7C2BBF is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.8% C 0.215 H 304.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7C2BBF
RGBrgb(124, 43, 191)
HSLhsl(273, 63%, 46%)
HSVhsv(273, 77%, 75%)
CMYKcmyk(35.1%, 77.5%, 0%, 25.1%)
CIE-LABlab(37.43, 59.85, -62.36)
CIE-LCHlch(37.43, 86.44, 313.82°)
OKLaboklab(48.78% 0.1203 -0.1778)
OKLCHoklch(48.78% 0.215 304.1)
XYZxyz(18.5778, 9.7745, 50.1880)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2BBF #6EBF2B
analogous
#322BBF #7C2BBF #BF2BB8
triadic
#7C2BBF #BF7C2B #2BBF7C
tetradic
#7C2BBF #BF322B #6EBF2B #2BB8BF
square
#7C2BBF #BF322B #6EBF2B #2BB8BF
split-complementary
#7C2BBF #B8BF2B #2BBF32
monochromatic
#3B155B #5C208D #7C2BBF #9A50D8 #B782E3

Accessibility & contrast

On white

7.11
#7C2BBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C2BBF
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2BBF#FFFFFF#000000##FFFFFF
##7C2BBF1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#6F5274
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7c2bbf;
/* rgb */ color: rgb(124, 43, 191);
/* oklch */ color: oklch(48.8% 0.215 304.1);
Tailwind
colors: {
  custom: {
    50: '#a86ed3',
    500: '#7c2bbf',
    950: '#000000',
  },
}
SCSS
$custom: #7c2bbf;
$custom-light: #a86ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2bbf",
  "rgb": {
    "r": 124,
    "g": 43,
    "b": 191
  },
  "hsl": {
    "h": 272.838,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48779,
    "c": 0.21465,
    "h": 304.1
  },
  "luminance": 0.09774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C2BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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