#7827A7#7827A7

#7827A7 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 46.0% C 0.195 H 309.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7827A7
RGBrgb(120, 39, 167)
HSLhsl(278, 62%, 40%)
HSVhsv(278, 77%, 65%)
CMYKcmyk(28.1%, 76.6%, 0%, 34.5%)
CIE-LABlab(34.47, 55.32, -52.96)
CIE-LCHlch(34.47, 76.59, 316.25°)
OKLaboklab(45.99% 0.1236 -0.1503)
OKLCHoklch(45.99% 0.195 309.4)
XYZxyz(15.4449, 8.2344, 37.3275)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7827A7 #56A727
analogous
#3827A7 #7827A7 #A72796
triadic
#7827A7 #A77827 #27A778
tetradic
#7827A7 #A73827 #56A727 #2796A7
square
#7827A7 #A73827 #56A727 #2796A7
split-complementary
#7827A7 #96A727 #27A738
monochromatic
#311044 #541B75 #7827A7 #9A3AD1 #B36CDD

Accessibility & contrast

On white

7.93
#7827A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7827A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7827A7
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7827A7#FFFFFF#000000##FFFFFF
##7827A71.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#714666
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7827a7;
/* rgb */ color: rgb(120, 39, 167);
/* oklch */ color: oklch(46.0% 0.195 309.4);
Tailwind
colors: {
  custom: {
    50: '#a46ac2',
    500: '#7827a7',
    950: '#000000',
  },
}
SCSS
$custom: #7827a7;
$custom-light: #a46ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#7827a7",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 277.969,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45992,
    "c": 0.19458,
    "h": 309.4
  },
  "luminance": 0.08234
}

Semantic roles & 50–950 ramp

primary
#7827A7
secondary
#89C367
accent
#E5437E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7827A7

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

Preview Lab → · Contrast checker → · Palette generator →

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