#7F3ECF#7F3ECF

#7F3ECF is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.4% C 0.211 H 299.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7F3ECF
RGBrgb(127, 62, 207)
HSLhsl(267, 60%, 53%)
HSVhsv(267, 70%, 81%)
CMYKcmyk(38.6%, 70%, 0%, 18.8%)
CIE-LABlab(41.94, 56.01, -64.32)
CIE-LCHlch(41.94, 85.29, 311.05°)
OKLaboklab(52.43% 0.1038 -0.1835)
OKLCHoklch(52.43% 0.211 299.5)
XYZxyz(21.7347, 12.4620, 60.2797)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3ECF #8ECF3E
analogous
#3E45CF #7F3ECF #C83ECF
triadic
#7F3ECF #CF7F3E #3ECF7F
tetradic
#7F3ECF #CF3E45 #8ECF3E #3ECFC8
square
#7F3ECF #CF3E45 #8ECF3E #3ECFC8
split-complementary
#7F3ECF #CFC83E #45CF3E
monochromatic
#451D75 #6129A6 #7F3ECF #A06FDB #C0A0E7

Accessibility & contrast

On white

6.01
#7F3ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7F3ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3ECF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3ECF#FFFFFF#000000##FFFFFF
##7F3ECF1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#6C6182
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7f3ecf;
/* rgb */ color: rgb(127, 62, 207);
/* oklch */ color: oklch(52.4% 0.211 299.5);
Tailwind
colors: {
  custom: {
    50: '#aa78df',
    500: '#7f3ecf',
    950: '#000000',
  },
}
SCSS
$custom: #7f3ecf;
$custom-light: #aa78df;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3ecf",
  "rgb": {
    "r": 127,
    "g": 62,
    "b": 207
  },
  "hsl": {
    "h": 266.897,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52433,
    "c": 0.21087,
    "h": 299.5
  },
  "luminance": 0.12462
}

Semantic roles & 50–950 ramp

primary
#7F3ECF
secondary
#B8D495
accent
#E3449C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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