#7825A4#7825A4

#7825A4 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.6% C 0.194 H 310.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7825A4
RGBrgb(120, 37, 164)
HSLhsl(279, 63%, 39%)
HSVhsv(279, 77%, 64%)
CMYKcmyk(26.8%, 77.4%, 0%, 35.7%)
CIE-LABlab(33.98, 55.43, -51.95)
CIE-LCHlch(33.98, 75.97, 316.85°)
OKLaboklab(45.58% 0.126 -0.1473)
OKLCHoklch(45.58% 0.194 310.6)
XYZxyz(15.1068, 7.9969, 35.8625)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7825A4 #51A425
analogous
#3925A4 #7825A4 #A42590
triadic
#7825A4 #A47825 #25A478
tetradic
#7825A4 #A43925 #51A425 #2590A4
square
#7825A4 #A43925 #51A425 #2590A4
split-complementary
#7825A4 #90A425 #25A439
monochromatic
#2F0E40 #531A72 #7825A4 #9B35D1 #B467DD

Accessibility & contrast

On white

8.08
#7825A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7825A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7825A4
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7825A4#FFFFFF#000000##FFFFFF
##7825A41.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0151A1
Tritanopia (blue-blind)
#724464
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7825a4;
/* rgb */ color: rgb(120, 37, 164);
/* oklch */ color: oklch(45.6% 0.194 310.6);
Tailwind
colors: {
  custom: {
    50: '#a469c0',
    500: '#7825a4',
    950: '#000000',
  },
}
SCSS
$custom: #7825a4;
$custom-light: #a469c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7825a4",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 279.213,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45576,
    "c": 0.19382,
    "h": 310.6
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

primary
#7825A4
secondary
#84C262
accent
#E6427B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7825A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7825A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva