#7827AC#7827AC

#7827AC is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.4% C 0.199 H 307.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7827AC
RGBrgb(120, 39, 172)
HSLhsl(277, 63%, 41%)
HSVhsv(277, 77%, 67%)
CMYKcmyk(30.2%, 77.3%, 0%, 32.5%)
CIE-LABlab(34.85, 56.42, -55.34)
CIE-LCHlch(34.85, 79.03, 315.55°)
OKLaboklab(46.38% 0.1226 -0.1572)
OKLCHoklch(46.38% 0.199 307.9)
XYZxyz(15.9161, 8.4229, 39.8090)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7827AC #5BAC27
analogous
#3527AC #7827AC #AC279E
triadic
#7827AC #AC7827 #27AC78
tetradic
#7827AC #AC3527 #5BAC27 #279EAC
square
#7827AC #AC3527 #5BAC27 #279EAC
split-complementary
#7827AC #9EAC27 #27AC35
monochromatic
#321048 #551C7A #7827AC #983DD3 #B36FDE

Accessibility & contrast

On white

7.82
#7827AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7827AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7827AC
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7827AC#FFFFFF#000000##FFFFFF
##7827AC1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#704869
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7827ac;
/* rgb */ color: rgb(120, 39, 172);
/* oklch */ color: oklch(46.4% 0.199 307.9);
Tailwind
colors: {
  custom: {
    50: '#a46ac6',
    500: '#7827ac',
    950: '#000000',
  },
}
SCSS
$custom: #7827ac;
$custom-light: #a46ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7827ac",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 276.541,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46381,
    "c": 0.19937,
    "h": 307.9
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#7827AC
secondary
#8DC56A
accent
#E64282
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7827AC

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

Preview Lab → · Contrast checker → · Palette generator →

#7827AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva