#7F3ABC#7F3ABC

#7F3ABC is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.195 H 304.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7F3ABC
RGBrgb(127, 58, 188)
HSLhsl(272, 53%, 48%)
HSVhsv(272, 69%, 74%)
CMYKcmyk(32.4%, 69.1%, 0%, 26.3%)
CIE-LABlab(39.86, 53.30, -56.64)
CIE-LCHlch(39.86, 77.77, 313.26°)
OKLaboklab(50.51% 0.1109 -0.1609)
OKLCHoklch(50.51% 0.195 304.6)
XYZxyz(19.3405, 11.1691, 48.7041)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3ABC #77BC3A
analogous
#3E3ABC #7F3ABC #BC3AB8
triadic
#7F3ABC #BC7F3A #3ABC7F
tetradic
#7F3ABC #BC3E3A #77BC3A #3AB8BC
square
#7F3ABC #BC3E3A #77BC3A #3AB8BC
split-complementary
#7F3ABC #B8BC3A #3ABC3E
monochromatic
#401D5E #5F2C8D #7F3ABC #9D64CF #BB93DE

Accessibility & contrast

On white

6.49
#7F3ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7F3ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3ABC
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3ABC#FFFFFF#000000##FFFFFF
##7F3ABC1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#745877
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f3abc;
/* rgb */ color: rgb(127, 58, 188);
/* oklch */ color: oklch(50.5% 0.195 304.6);
Tailwind
colors: {
  custom: {
    50: '#a975d1',
    500: '#7f3abc',
    950: '#000000',
  },
}
SCSS
$custom: #7f3abc;
$custom-light: #a975d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3abc",
  "rgb": {
    "r": 127,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 271.846,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50511,
    "c": 0.19542,
    "h": 304.6
  },
  "luminance": 0.11169
}

Semantic roles & 50–950 ramp

primary
#7F3ABC
secondary
#A7C989
accent
#DC4C8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7F3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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