#7F3CCF#7F3CCF

#7F3CCF is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.213 H 299.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7F3CCF
RGBrgb(127, 60, 207)
HSLhsl(267, 60%, 52%)
HSVhsv(267, 71%, 81%)
CMYKcmyk(38.6%, 71%, 0%, 18.8%)
CIE-LABlab(41.61, 56.94, -64.87)
CIE-LCHlch(41.61, 86.31, 311.28°)
OKLaboklab(52.2% 0.1058 -0.1851)
OKLCHoklch(52.2% 0.213 299.7)
XYZxyz(21.6279, 12.2485, 60.2441)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3CCF #8CCF3C
analogous
#3C42CF #7F3CCF #C93CCF
triadic
#7F3CCF #CF7F3C #3CCF7F
tetradic
#7F3CCF #CF3C42 #8CCF3C #3CCFC9
square
#7F3CCF #CF3C42 #8CCF3C #3CCFC9
split-complementary
#7F3CCF #CFC93C #42CF3C
monochromatic
#441D74 #6129A5 #7F3CCF #9F6DDB #BF9EE7

Accessibility & contrast

On white

6.09
#7F3CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7F3CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3CCF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3CCF#FFFFFF#000000##FFFFFF
##7F3CCF1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f3ccf;
/* rgb */ color: rgb(127, 60, 207);
/* oklch */ color: oklch(52.2% 0.213 299.7);
Tailwind
colors: {
  custom: {
    50: '#aa77df',
    500: '#7f3ccf',
    950: '#000000',
  },
}
SCSS
$custom: #7f3ccf;
$custom-light: #aa77df;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3ccf",
  "rgb": {
    "r": 127,
    "g": 60,
    "b": 207
  },
  "hsl": {
    "h": 267.347,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52196,
    "c": 0.21321,
    "h": 299.7
  },
  "luminance": 0.12249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F3CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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