#7F3CC8#7F3CC8

#7F3CC8 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.206 H 301.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7F3CC8
RGBrgb(127, 60, 200)
HSLhsl(269, 56%, 51%)
HSVhsv(269, 70%, 78%)
CMYKcmyk(36.5%, 70%, 0%, 21.6%)
CIE-LABlab(41.08, 55.24, -61.67)
CIE-LCHlch(41.08, 82.79, 311.85°)
OKLaboklab(51.65% 0.107 -0.1757)
OKLCHoklch(51.65% 0.206 301.3)
XYZxyz(20.7911, 11.9138, 55.8366)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3CC8 #85C83C
analogous
#3C3FC8 #7F3CC8 #C53CC8
triadic
#7F3CC8 #C87F3C #3CC87F
tetradic
#7F3CC8 #C83C3F #85C83C #3CC8C5
square
#7F3CC8 #C83C3F #85C83C #3CC8C5
split-complementary
#7F3CC8 #C8C53C #3FC83C
monochromatic
#431E6B #612C9B #7F3CC8 #9E6CD5 #BE9BE3

Accessibility & contrast

On white

6.21
#7F3CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7F3CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3CC8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3CC8#FFFFFF#000000##FFFFFF
##7F3CC81.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#6F5D7E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f3cc8;
/* rgb */ color: rgb(127, 60, 200);
/* oklch */ color: oklch(51.7% 0.206 301.3);
Tailwind
colors: {
  custom: {
    50: '#aa77da',
    500: '#7f3cc8',
    950: '#000000',
  },
}
SCSS
$custom: #7f3cc8;
$custom-light: #aa77da;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3cc8",
  "rgb": {
    "r": 127,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 268.714,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51654,
    "c": 0.20575,
    "h": 301.3
  },
  "luminance": 0.11914
}

Semantic roles & 50–950 ramp

primary
#7F3CC8
secondary
#B1CF91
accent
#DF4997
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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