#7F3BCF#7F3BCF

#7F3BCF is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.214 H 299.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7F3BCF
RGBrgb(127, 59, 207)
HSLhsl(268, 61%, 52%)
HSVhsv(268, 71%, 81%)
CMYKcmyk(38.6%, 71.5%, 0%, 18.8%)
CIE-LABlab(41.45, 57.40, -65.13)
CIE-LCHlch(41.45, 86.82, 311.39°)
OKLaboklab(52.08% 0.1067 -0.1859)
OKLCHoklch(52.08% 0.214 299.9)
XYZxyz(21.5760, 12.1447, 60.2268)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3BCF #8BCF3B
analogous
#3B41CF #7F3BCF #C93BCF
triadic
#7F3BCF #CF7F3B #3BCF7F
tetradic
#7F3BCF #CF3B41 #8BCF3B #3BCFC9
square
#7F3BCF #CF3B41 #8BCF3B #3BCFC9
split-complementary
#7F3BCF #CFC93B #41CF3B
monochromatic
#441C73 #6128A5 #7F3BCF #9F6CDB #BF9DE7

Accessibility & contrast

On white

6.12
#7F3BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7F3BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3BCF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3BCF#FFFFFF#000000##FFFFFF
##7F3BCF1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#6D6081
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7f3bcf;
/* rgb */ color: rgb(127, 59, 207);
/* oklch */ color: oklch(52.1% 0.214 299.9);
Tailwind
colors: {
  custom: {
    50: '#ab77df',
    500: '#7f3bcf',
    950: '#000000',
  },
}
SCSS
$custom: #7f3bcf;
$custom-light: #ab77df;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3bcf",
  "rgb": {
    "r": 127,
    "g": 59,
    "b": 207
  },
  "hsl": {
    "h": 267.568,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5208,
    "c": 0.21435,
    "h": 299.9
  },
  "luminance": 0.12145
}

Semantic roles & 50–950 ramp

primary
#7F3BCF
secondary
#B6D393
accent
#E4449A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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