#7F2FCF#7F2FCF

#7F2FCF is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.8% C 0.227 H 301.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7F2FCF
RGBrgb(127, 47, 207)
HSLhsl(270, 63%, 50%)
HSVhsv(270, 77%, 81%)
CMYKcmyk(38.6%, 77.3%, 0%, 18.8%)
CIE-LABlab(39.66, 62.48, -68.04)
CIE-LCHlch(39.66, 92.37, 312.56°)
OKLaboklab(50.83% 0.1172 -0.1943)
OKLCHoklch(50.83% 0.227 301.1)
XYZxyz(21.0286, 11.0499, 60.0444)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2FCF #7FCF2F
analogous
#2F2FCF #7F2FCF #CF2FCF
triadic
#7F2FCF #CF7F2F #2FCF7F
tetradic
#7F2FCF #CF2F2F #7FCF2F #2FCFCF
square
#7F2FCF #CF2F2F #7FCF2F #2FCFCF
split-complementary
#7F2FCF #CFCF2F #2FCF2F
monochromatic
#42186B #60249D #7F2FCF #9E60DB #BC92E6

Accessibility & contrast

On white

6.54
#7F2FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7F2FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F2FCF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2FCF#FFFFFF#000000##FFFFFF
##7F2FCF1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#6D5A7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f2fcf;
/* rgb */ color: rgb(127, 47, 207);
/* oklch */ color: oklch(50.8% 0.227 301.1);
Tailwind
colors: {
  custom: {
    50: '#ab71df',
    500: '#7f2fcf',
    950: '#000000',
  },
}
SCSS
$custom: #7f2fcf;
$custom-light: #ab71df;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2fcf",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 207
  },
  "hsl": {
    "h": 270,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50827,
    "c": 0.22696,
    "h": 301.1
  },
  "luminance": 0.1105
}

Semantic roles & 50–950 ramp

primary
#7F2FCF
secondary
#ADD189
accent
#E64294
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7F2FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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