#7F2FC0#7F2FC0

#7F2FC0 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.212 H 304.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7F2FC0
RGBrgb(127, 47, 192)
HSLhsl(273, 61%, 47%)
HSVhsv(273, 76%, 75%)
CMYKcmyk(33.9%, 75.5%, 0%, 24.7%)
CIE-LABlab(38.47, 59.03, -61.26)
CIE-LCHlch(38.47, 85.07, 313.94°)
OKLaboklab(49.61% 0.1208 -0.1744)
OKLCHoklch(49.61% 0.212 304.7)
XYZxyz(19.2812, 10.3509, 50.8411)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2FC0 #70C02F
analogous
#362FC0 #7F2FC0 #C02FB9
triadic
#7F2FC0 #C07F2F #2FC07F
tetradic
#7F2FC0 #C0362F #70C02F #2FB9C0
square
#7F2FC0 #C0362F #70C02F #2FB9C0
split-complementary
#7F2FC0 #B9C02F #2FC036
monochromatic
#3E175E #5E238F #7F2FC0 #9D56D6 #B988E2

Accessibility & contrast

On white

6.84
#7F2FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7F2FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F2FC0
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2FC0#FFFFFF#000000##FFFFFF
##7F2FC01.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#735476
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f2fc0;
/* rgb */ color: rgb(127, 47, 192);
/* oklch */ color: oklch(49.6% 0.212 304.7);
Tailwind
colors: {
  custom: {
    50: '#aa70d4',
    500: '#7f2fc0',
    950: '#000000',
  },
}
SCSS
$custom: #7f2fc0;
$custom-light: #aa70d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2fc0",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 192
  },
  "hsl": {
    "h": 273.103,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49613,
    "c": 0.2122,
    "h": 304.7
  },
  "luminance": 0.10351
}

Semantic roles & 50–950 ramp

primary
#7F2FC0
secondary
#A1CB7F
accent
#E4448C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F2FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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