#7827A3#7827A3

#7827A3 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.191 H 310.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7827A3
RGBrgb(120, 39, 163)
HSLhsl(279, 61%, 40%)
HSVhsv(279, 76%, 64%)
CMYKcmyk(26.4%, 76.1%, 0%, 36.1%)
CIE-LABlab(34.17, 54.45, -51.04)
CIE-LCHlch(34.17, 74.63, 316.85°)
OKLaboklab(45.69% 0.1244 -0.1446)
OKLCHoklch(45.69% 0.191 310.7)
XYZxyz(15.0808, 8.0888, 35.4101)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7827A3 #52A327
analogous
#3A27A3 #7827A3 #A32790
triadic
#7827A3 #A37827 #27A378
tetradic
#7827A3 #A33A27 #52A327 #2790A3
square
#7827A3 #A33A27 #52A327 #2790A3
split-complementary
#7827A3 #90A327 #27A33A
monochromatic
#2F0F40 #541B72 #7827A3 #9B38CF #B469DB

Accessibility & contrast

On white

8.02
#7827A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7827A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7827A3
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7827A3#FFFFFF#000000##FFFFFF
##7827A31.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0A52A0
Tritanopia (blue-blind)
#724464
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7827a3;
/* rgb */ color: rgb(120, 39, 163);
/* oklch */ color: oklch(45.7% 0.191 310.7);
Tailwind
colors: {
  custom: {
    50: '#a36abf',
    500: '#7827a3',
    950: '#000000',
  },
}
SCSS
$custom: #7827a3;
$custom-light: #a36abf;
$custom-dark: #000000;
JSON
{
  "hex": "#7827a3",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 279.194,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45687,
    "c": 0.19073,
    "h": 310.7
  },
  "luminance": 0.08088
}

Semantic roles & 50–950 ramp

primary
#7827A3
secondary
#85C164
accent
#E4437B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7827A3

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

Preview Lab → · Contrast checker → · Palette generator →

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