#7C2FBF#7C2FBF

#7C2FBF is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.211 H 303.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7C2FBF
RGBrgb(124, 47, 191)
HSLhsl(272, 61%, 47%)
HSVhsv(272, 75%, 75%)
CMYKcmyk(35.1%, 75.4%, 0%, 25.1%)
CIE-LABlab(37.99, 58.27, -61.47)
CIE-LCHlch(37.99, 84.70, 313.47°)
OKLaboklab(49.17% 0.1169 -0.1752)
OKLCHoklch(49.17% 0.211 303.7)
XYZxyz(18.7305, 10.0797, 50.2389)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2FBF #72BF2F
analogous
#342FBF #7C2FBF #BF2FBA
triadic
#7C2FBF #BF7C2F #2FBF7C
tetradic
#7C2FBF #BF342F #72BF2F #2FBABF
square
#7C2FBF #BF342F #72BF2F #2FBABF
split-complementary
#7C2FBF #BABF2F #2FBF34
monochromatic
#3C175D #5C238E #7C2FBF #9A56D5 #B787E1

Accessibility & contrast

On white

6.96
#7C2FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7C2FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C2FBF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2FBF#FFFFFF#000000##FFFFFF
##7C2FBF1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c2fbf;
/* rgb */ color: rgb(124, 47, 191);
/* oklch */ color: oklch(49.2% 0.211 303.7);
Tailwind
colors: {
  custom: {
    50: '#a870d3',
    500: '#7c2fbf',
    950: '#000000',
  },
}
SCSS
$custom: #7c2fbf;
$custom-light: #a870d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2fbf",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 272.083,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49166,
    "c": 0.21058,
    "h": 303.7
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

primary
#7C2FBF
secondary
#A2CB7F
accent
#E4448E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C2FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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