#7C2FBE#7C2FBE

#7C2FBE is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.210 H 304.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7C2FBE
RGBrgb(124, 47, 190)
HSLhsl(272, 60%, 46%)
HSVhsv(272, 75%, 75%)
CMYKcmyk(34.7%, 75.3%, 0%, 25.5%)
CIE-LABlab(37.91, 58.04, -61.01)
CIE-LCHlch(37.91, 84.21, 313.57°)
OKLaboklab(49.09% 0.1171 -0.1738)
OKLCHoklch(49.09% 0.21 304)
XYZxyz(18.6208, 10.0359, 49.6613)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2FBE #71BE2F
analogous
#352FBE #7C2FBE #BE2FB9
triadic
#7C2FBE #BE7C2F #2FBE7C
tetradic
#7C2FBE #BE352F #71BE2F #2FB9BE
square
#7C2FBE #BE352F #71BE2F #2FB9BE
split-complementary
#7C2FBE #B9BE2F #2FBE35
monochromatic
#3C175C #5C238D #7C2FBE #9A55D5 #B786E1

Accessibility & contrast

On white

6.98
#7C2FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7C2FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C2FBE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2FBE#FFFFFF#000000##FFFFFF
##7C2FBE1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#6F5375
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c2fbe;
/* rgb */ color: rgb(124, 47, 190);
/* oklch */ color: oklch(49.1% 0.210 304.0);
Tailwind
colors: {
  custom: {
    50: '#a86fd3',
    500: '#7c2fbe',
    950: '#000000',
  },
}
SCSS
$custom: #7c2fbe;
$custom-light: #a86fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2fbe",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 272.308,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49086,
    "c": 0.20958,
    "h": 304
  },
  "luminance": 0.10036
}

Semantic roles & 50–950 ramp

primary
#7C2FBE
secondary
#A1CB7E
accent
#E3448E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C2FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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