#7F3CCD#7F3CCD

#7F3CCD is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.211 H 300.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7F3CCD
RGBrgb(127, 60, 205)
HSLhsl(268, 59%, 52%)
HSVhsv(268, 71%, 80%)
CMYKcmyk(38%, 70.7%, 0%, 19.6%)
CIE-LABlab(41.46, 56.45, -63.96)
CIE-LCHlch(41.46, 85.31, 311.43°)
OKLaboklab(52.04% 0.1061 -0.1825)
OKLCHoklch(52.04% 0.211 300.2)
XYZxyz(21.3850, 12.1513, 58.9646)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3CCD #8ACD3C
analogous
#3C42CD #7F3CCD #C83CCD
triadic
#7F3CCD #CD7F3C #3CCD7F
tetradic
#7F3CCD #CD3C42 #8ACD3C #3CCDC8
square
#7F3CCD #CD3C42 #8ACD3C #3CCDC8
split-complementary
#7F3CCD #CDC83C #42CD3C
monochromatic
#441D71 #612AA2 #7F3CCD #9F6DD9 #BF9DE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F3CCD#FFFFFF#000000##FFFFFF
##7F3CCD1.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)
#0061D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#6D5F81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7f3ccd;
/* rgb */ color: rgb(127, 60, 205);
/* oklch */ color: oklch(52.0% 0.211 300.2);
Tailwind
colors: {
  custom: {
    50: '#aa77dd',
    500: '#7f3ccd',
    950: '#000000',
  },
}
SCSS
$custom: #7f3ccd;
$custom-light: #aa77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3ccd",
  "rgb": {
    "r": 127,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 267.724,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5204,
    "c": 0.21108,
    "h": 300.2
  },
  "luminance": 0.12152
}

Semantic roles & 50–950 ramp

primary
#7F3CCD
secondary
#B5D293
accent
#E2459A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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