#7F3FCE#7F3FCE

#7F3FCE is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.209 H 299.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7F3FCE
RGBrgb(127, 63, 206)
HSLhsl(267, 59%, 53%)
HSVhsv(267, 69%, 81%)
CMYKcmyk(38.3%, 69.4%, 0%, 19.2%)
CIE-LABlab(42.04, 55.29, -63.59)
CIE-LCHlch(42.04, 84.27, 311.00°)
OKLaboklab(52.48% 0.103 -0.1814)
OKLCHoklch(52.48% 0.209 299.6)
XYZxyz(21.6677, 12.5230, 59.6562)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3FCE #8ECE3F
analogous
#3F47CE #7F3FCE #C63FCE
triadic
#7F3FCE #CE7F3F #3FCE7F
tetradic
#7F3FCE #CE3F47 #8ECE3F #3FCEC6
square
#7F3FCE #CE3F47 #8ECE3F #3FCEC6
split-complementary
#7F3FCE #CEC63F #47CE3F
monochromatic
#451E75 #612AA6 #7F3FCE #A070DA #C0A1E7

Accessibility & contrast

On white

5.99
#7F3FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7F3FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3FCE
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3FCE#FFFFFF#000000##FFFFFF
##7F3FCE1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#6D6182
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7f3fce;
/* rgb */ color: rgb(127, 63, 206);
/* oklch */ color: oklch(52.5% 0.209 299.6);
Tailwind
colors: {
  custom: {
    50: '#aa79de',
    500: '#7f3fce',
    950: '#000000',
  },
}
SCSS
$custom: #7f3fce;
$custom-light: #aa79de;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3fce",
  "rgb": {
    "r": 127,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 266.853,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52476,
    "c": 0.20861,
    "h": 299.6
  },
  "luminance": 0.12523
}

Semantic roles & 50–950 ramp

primary
#7F3FCE
secondary
#B8D395
accent
#E3459C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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