#7827AE#7827AE

#7827AE is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.201 H 307.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#7827AE
RGBrgb(120, 39, 174)
HSLhsl(276, 63%, 42%)
HSVhsv(276, 78%, 68%)
CMYKcmyk(31%, 77.6%, 0%, 31.8%)
CIE-LABlab(35.00, 56.86, -56.28)
CIE-LCHlch(35.00, 80.01, 315.29°)
OKLaboklab(46.54% 0.1221 -0.16)
OKLCHoklch(46.54% 0.201 307.4)
XYZxyz(16.1096, 8.5003, 40.8283)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7827AE #5DAE27
analogous
#3527AE #7827AE #AE27A1
triadic
#7827AE #AE7827 #27AE78
tetradic
#7827AE #AE3527 #5DAE27 #27A1AE
square
#7827AE #AE3527 #5DAE27 #27A1AE
split-complementary
#7827AE #A1AE27 #27AE35
monochromatic
#33114A #561C7C #7827AE #983ED4 #B370DF

Accessibility & contrast

On white

7.78
#7827AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7827AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7827AE
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7827AE#FFFFFF#000000##FFFFFF
##7827AE1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#6F496A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7827ae;
/* rgb */ color: rgb(120, 39, 174);
/* oklch */ color: oklch(46.5% 0.201 307.4);
Tailwind
colors: {
  custom: {
    50: '#a46ac7',
    500: '#7827ae',
    950: '#000000',
  },
}
SCSS
$custom: #7827ae;
$custom-light: #a46ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7827ae",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 276,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46539,
    "c": 0.20129,
    "h": 307.4
  },
  "luminance": 0.085
}

Semantic roles & 50–950 ramp

primary
#7827AE
secondary
#8FC66B
accent
#E64183
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7827AE

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

Preview Lab → · Contrast checker → · Palette generator →

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