#7827AF#7827AF

#7827AF is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.202 H 307.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7827AF
RGBrgb(120, 39, 175)
HSLhsl(276, 64%, 42%)
HSVhsv(276, 78%, 69%)
CMYKcmyk(31.4%, 77.7%, 0%, 31.4%)
CIE-LABlab(35.08, 57.08, -56.75)
CIE-LCHlch(35.08, 80.50, 315.17°)
OKLaboklab(46.62% 0.1219 -0.1614)
OKLCHoklch(46.62% 0.202 307.1)
XYZxyz(16.2074, 8.5395, 41.3436)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7827AF #5EAF27
analogous
#3427AF #7827AF #AF27A2
triadic
#7827AF #AF7827 #27AF78
tetradic
#7827AF #AF3427 #5EAF27 #27A2AF
square
#7827AF #AF3427 #5EAF27 #27A2AF
split-complementary
#7827AF #A2AF27 #27AF34
monochromatic
#33114B #561C7D #7827AF #983FD4 #B371DF

Accessibility & contrast

On white

7.76
#7827AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7827AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7827AF
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7827AF#FFFFFF#000000##FFFFFF
##7827AF1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7827af;
/* rgb */ color: rgb(120, 39, 175);
/* oklch */ color: oklch(46.6% 0.202 307.1);
Tailwind
colors: {
  custom: {
    50: '#a46bc8',
    500: '#7827af',
    950: '#000000',
  },
}
SCSS
$custom: #7827af;
$custom-light: #a46bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7827af",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 275.735,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46618,
    "c": 0.20225,
    "h": 307.1
  },
  "luminance": 0.08539
}

Semantic roles & 50–950 ramp

primary
#7827AF
secondary
#90C66B
accent
#E74184
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7827AF

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

Preview Lab → · Contrast checker → · Palette generator →

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