#7827AD#7827AD

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

Color values

HEX#7827AD
RGBrgb(120, 39, 173)
HSLhsl(276, 63%, 42%)
HSVhsv(276, 77%, 68%)
CMYKcmyk(30.6%, 77.5%, 0%, 32.2%)
CIE-LABlab(34.93, 56.64, -55.81)
CIE-LCHlch(34.93, 79.52, 315.42°)
OKLaboklab(46.46% 0.1224 -0.1586)
OKLCHoklch(46.46% 0.2 307.6)
XYZxyz(16.0125, 8.4615, 40.3167)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7827AD #5CAD27
analogous
#3527AD #7827AD #AD279F
triadic
#7827AD #AD7827 #27AD78
tetradic
#7827AD #AD3527 #5CAD27 #279FAD
square
#7827AD #AD3527 #5CAD27 #279FAD
split-complementary
#7827AD #9FAD27 #27AD35
monochromatic
#331049 #551C7B #7827AD #983ED3 #B370DF

Accessibility & contrast

On white

7.80
#7827AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7827AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7827AD
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7827AD#FFFFFF#000000##FFFFFF
##7827AD1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#6F4969
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7827ad;
/* rgb */ color: rgb(120, 39, 173);
/* oklch */ color: oklch(46.5% 0.200 307.6);
Tailwind
colors: {
  custom: {
    50: '#a46ac6',
    500: '#7827ad',
    950: '#000000',
  },
}
SCSS
$custom: #7827ad;
$custom-light: #a46ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7827ad",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 276.269,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4646,
    "c": 0.20033,
    "h": 307.6
  },
  "luminance": 0.08461
}

Semantic roles & 50–950 ramp

primary
#7827AD
secondary
#8EC66A
accent
#E64283
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7827AD

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

Preview Lab → · Contrast checker → · Palette generator →

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