#7C2FBC#7C2FBC

#7C2FBC is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.9% C 0.208 H 304.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7C2FBC
RGBrgb(124, 47, 188)
HSLhsl(273, 60%, 46%)
HSVhsv(273, 75%, 74%)
CMYKcmyk(34%, 75%, 0%, 26.3%)
CIE-LABlab(37.75, 57.58, -60.09)
CIE-LCHlch(37.75, 83.22, 313.78°)
OKLaboklab(48.93% 0.1175 -0.1711)
OKLCHoklch(48.93% 0.208 304.5)
XYZxyz(18.4037, 9.9490, 48.5180)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2FBC #6FBC2F
analogous
#352FBC #7C2FBC #BC2FB5
triadic
#7C2FBC #BC7C2F #2FBC7C
tetradic
#7C2FBC #BC352F #6FBC2F #2FB5BC
square
#7C2FBC #BC352F #6FBC2F #2FB5BC
split-complementary
#7C2FBC #B5BC2F #2FBC35
monochromatic
#3B175A #5C238B #7C2FBC #9A54D4 #B785E0

Accessibility & contrast

On white

7.02
#7C2FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7C2FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2FBC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2FBC#FFFFFF#000000##FFFFFF
##7C2FBC1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#705274
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c2fbc;
/* rgb */ color: rgb(124, 47, 188);
/* oklch */ color: oklch(48.9% 0.208 304.5);
Tailwind
colors: {
  custom: {
    50: '#a86fd1',
    500: '#7c2fbc',
    950: '#000000',
  },
}
SCSS
$custom: #7c2fbc;
$custom-light: #a86fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2fbc",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 272.766,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48928,
    "c": 0.20758,
    "h": 304.5
  },
  "luminance": 0.09949
}

Semantic roles & 50–950 ramp

primary
#7C2FBC
secondary
#A0CA7D
accent
#E3458D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C2FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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