#7F3DBF#7F3DBF

#7F3DBF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.195 H 303.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7F3DBF
RGBrgb(127, 61, 191)
HSLhsl(270, 52%, 49%)
HSVhsv(270, 68%, 75%)
CMYKcmyk(33.5%, 68.1%, 0%, 25.1%)
CIE-LABlab(40.59, 52.59, -57.22)
CIE-LCHlch(40.59, 77.71, 312.58°)
OKLaboklab(51.1% 0.1073 -0.1626)
OKLCHoklch(51.1% 0.195 303.4)
XYZxyz(19.8229, 11.6111, 50.4770)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3DBF #7DBF3D
analogous
#3E3DBF #7F3DBF #BF3DBE
triadic
#7F3DBF #BF7F3D #3DBF7F
tetradic
#7F3DBF #BF3E3D #7DBF3D #3DBEBF
square
#7F3DBF #BF3E3D #7DBF3D #3DBEBF
split-complementary
#7F3DBF #BEBF3D #3DBF3E
monochromatic
#411F62 #602E91 #7F3DBF #9D6ACF #BC98DE

Accessibility & contrast

On white

6.32
#7F3DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7F3DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3DBF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3DBF#FFFFFF#000000##FFFFFF
##7F3DBF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#725B79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f3dbf;
/* rgb */ color: rgb(127, 61, 191);
/* oklch */ color: oklch(51.1% 0.195 303.4);
Tailwind
colors: {
  custom: {
    50: '#a977d3',
    500: '#7f3dbf',
    950: '#000000',
  },
}
SCSS
$custom: #7f3dbf;
$custom-light: #a977d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3dbf",
  "rgb": {
    "r": 127,
    "g": 61,
    "b": 191
  },
  "hsl": {
    "h": 270.462,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51099,
    "c": 0.19484,
    "h": 303.4
  },
  "luminance": 0.11611
}

Semantic roles & 50–950 ramp

primary
#7F3DBF
secondary
#ABCA8E
accent
#DB4D93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F3DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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