#7F2FBF#7F2FBF

#7F2FBF is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.211 H 305.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7F2FBF
RGBrgb(127, 47, 191)
HSLhsl(273, 61%, 47%)
HSVhsv(273, 75%, 75%)
CMYKcmyk(33.5%, 75.4%, 0%, 25.1%)
CIE-LABlab(38.39, 58.80, -60.80)
CIE-LCHlch(38.39, 84.58, 314.04°)
OKLaboklab(49.54% 0.1211 -0.1731)
OKLCHoklch(49.54% 0.211 305)
XYZxyz(19.1708, 10.3068, 50.2596)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2FBF #6FBF2F
analogous
#372FBF #7F2FBF #BF2FB7
triadic
#7F2FBF #BF7F2F #2FBF7F
tetradic
#7F2FBF #BF372F #6FBF2F #2FB7BF
square
#7F2FBF #BF372F #6FBF2F #2FB7BF
split-complementary
#7F2FBF #B7BF2F #2FBF37
monochromatic
#3E175D #5E238E #7F2FBF #9D56D5 #B987E1

Accessibility & contrast

On white

6.86
#7F2FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7F2FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F2FBF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2FBF#FFFFFF#000000##FFFFFF
##7F2FBF1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#735375
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f2fbf;
/* rgb */ color: rgb(127, 47, 191);
/* oklch */ color: oklch(49.5% 0.211 305.0);
Tailwind
colors: {
  custom: {
    50: '#aa70d3',
    500: '#7f2fbf',
    950: '#000000',
  },
}
SCSS
$custom: #7f2fbf;
$custom-light: #aa70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2fbf",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 273.333,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49535,
    "c": 0.21122,
    "h": 305
  },
  "luminance": 0.10307
}

Semantic roles & 50–950 ramp

primary
#7F2FBF
secondary
#A1CB7F
accent
#E4448B
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F2FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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