#7814A1#7814A1

#7814A1 is a dark, highly saturated purple. Relative luminance 0.071; OKLCH L 44.1% C 0.206 H 312.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7814A1
RGBrgb(120, 20, 161)
HSLhsl(283, 78%, 35%)
HSVhsv(283, 88%, 63%)
CMYKcmyk(25.5%, 87.6%, 0%, 36.9%)
CIE-LABlab(31.96, 60.00, -53.42)
CIE-LCHlch(31.96, 80.33, 318.32°)
OKLaboklab(44.09% 0.1391 -0.1515)
OKLCHoklch(44.09% 0.206 312.6)
XYZxyz(14.4277, 7.0670, 34.3154)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7814A1 #3DA114
analogous
#3114A1 #7814A1 #A11483
triadic
#7814A1 #A17814 #14A178
tetradic
#7814A1 #A13114 #3DA114 #1483A1
square
#7814A1 #A13114 #3DA114 #1483A1
split-complementary
#7814A1 #83A114 #14A131
monochromatic
#270634 #4F0D6B #7814A1 #A11BD7 #B947E8

Accessibility & contrast

On white

8.70
#7814A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7814A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7814A1
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7814A1#FFFFFF#000000##FFFFFF
##7814A11.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#004D9E
Tritanopia (blue-blind)
#733B5F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7814a1;
/* rgb */ color: rgb(120, 20, 161);
/* oklch */ color: oklch(44.1% 0.206 312.6);
Tailwind
colors: {
  custom: {
    50: '#a463be',
    500: '#7814a1',
    950: '#000000',
  },
}
SCSS
$custom: #7814a1;
$custom-light: #a463be;
$custom-dark: #000000;
JSON
{
  "hex": "#7814a1",
  "rgb": {
    "r": 120,
    "g": 20,
    "b": 161
  },
  "hsl": {
    "h": 282.553,
    "s": 77.901,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44094,
    "c": 0.20567,
    "h": 312.6
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#7814A1
secondary
#6DC948
accent
#F4336C
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7814A1

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

Preview Lab → · Contrast checker → · Palette generator →

#7814A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva