#7F1CB3#7F1CB3

#7F1CB3 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 47.0% C 0.217 H 309.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7F1CB3
RGBrgb(127, 28, 179)
HSLhsl(279, 73%, 41%)
HSVhsv(279, 84%, 70%)
CMYKcmyk(29.1%, 84.4%, 0%, 29.8%)
CIE-LABlab(35.20, 62.70, -58.90)
CIE-LCHlch(35.20, 86.02, 316.79°)
OKLaboklab(47.01% 0.1387 -0.1674)
OKLCHoklch(47.01% 0.217 309.7)
XYZxyz(17.3027, 8.5976, 43.3871)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1CB3 #50B31C
analogous
#341CB3 #7F1CB3 #B31C9B
triadic
#7F1CB3 #B37F1C #1CB37F
tetradic
#7F1CB3 #B3341C #50B31C #1C9BB3
square
#7F1CB3 #B3341C #50B31C #1C9BB3
split-complementary
#7F1CB3 #9BB31C #1CB334
monochromatic
#340B49 #59147E #7F1CB3 #A22EDE #B963E7

Accessibility & contrast

On white

7.72
#7F1CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7F1CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1CB3
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1CB3#FFFFFF#000000##FFFFFF
##7F1CB31.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#77466B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7f1cb3;
/* rgb */ color: rgb(127, 28, 179);
/* oklch */ color: oklch(47.0% 0.217 309.7);
Tailwind
colors: {
  custom: {
    50: '#aa67cb',
    500: '#7f1cb3',
    950: '#000000',
  },
}
SCSS
$custom: #7f1cb3;
$custom-light: #aa67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1cb3",
  "rgb": {
    "r": 127,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 279.338,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4701,
    "c": 0.21741,
    "h": 309.7
  },
  "luminance": 0.08597
}

Semantic roles & 50–950 ramp

primary
#7F1CB3
secondary
#85CB5F
accent
#F03877
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #7F1CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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