#7F3CBF#7F3CBF

#7F3CBF is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.0% C 0.196 H 303.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7F3CBF
RGBrgb(127, 60, 191)
HSLhsl(271, 52%, 49%)
HSVhsv(271, 69%, 75%)
CMYKcmyk(33.5%, 68.6%, 0%, 25.1%)
CIE-LABlab(40.42, 53.07, -57.50)
CIE-LCHlch(40.42, 78.24, 312.70°)
OKLaboklab(50.98% 0.1083 -0.1635)
OKLCHoklch(50.98% 0.196 303.5)
XYZxyz(19.7701, 11.5054, 50.4593)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3CBF #7CBF3C
analogous
#3E3CBF #7F3CBF #BF3CBE
triadic
#7F3CBF #BF7F3C #3CBF7F
tetradic
#7F3CBF #BF3E3C #7CBF3C #3CBEBF
square
#7F3CBF #BF3E3C #7CBF3C #3CBEBF
split-complementary
#7F3CBF #BEBF3C #3CBF3E
monochromatic
#411F62 #602D90 #7F3CBF #9D68D0 #BC97DE

Accessibility & contrast

On white

6.36
#7F3CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7F3CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3CBF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3CBF#FFFFFF#000000##FFFFFF
##7F3CBF1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#725A79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7f3cbf;
/* rgb */ color: rgb(127, 60, 191);
/* oklch */ color: oklch(51.0% 0.196 303.5);
Tailwind
colors: {
  custom: {
    50: '#a977d3',
    500: '#7f3cbf',
    950: '#000000',
  },
}
SCSS
$custom: #7f3cbf;
$custom-light: #a977d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3cbf",
  "rgb": {
    "r": 127,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 270.687,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50976,
    "c": 0.1961,
    "h": 303.5
  },
  "luminance": 0.11505
}

Semantic roles & 50–950 ramp

primary
#7F3CBF
secondary
#ABCA8D
accent
#DC4C92
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F3CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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