#7825AC#7825AC

#7825AC is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.201 H 308.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#7825AC
RGBrgb(120, 37, 172)
HSLhsl(277, 65%, 41%)
HSVhsv(277, 78%, 67%)
CMYKcmyk(30.2%, 78.5%, 0%, 32.5%)
CIE-LABlab(34.59, 57.16, -55.76)
CIE-LCHlch(34.59, 79.86, 315.71°)
OKLaboklab(46.2% 0.1243 -0.1585)
OKLCHoklch(46.2% 0.201 308.1)
XYZxyz(15.8521, 8.2950, 39.7877)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7825AC #59AC25
analogous
#3425AC #7825AC #AC259C
triadic
#7825AC #AC7825 #25AC78
tetradic
#7825AC #AC3425 #59AC25 #259CAC
square
#7825AC #AC3425 #59AC25 #259CAC
split-complementary
#7825AC #9CAC25 #25AC34
monochromatic
#320F47 #551A7A #7825AC #993AD5 #B36CDF

Accessibility & contrast

On white

7.90
#7825AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7825AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7825AC
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7825AC#FFFFFF#000000##FFFFFF
##7825AC1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#704768
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7825ac;
/* rgb */ color: rgb(120, 37, 172);
/* oklch */ color: oklch(46.2% 0.201 308.1);
Tailwind
colors: {
  custom: {
    50: '#a46ac6',
    500: '#7825ac',
    950: '#000000',
  },
}
SCSS
$custom: #7825ac;
$custom-light: #a46ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7825ac",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 276.889,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46199,
    "c": 0.20138,
    "h": 308.1
  },
  "luminance": 0.08295
}

Semantic roles & 50–950 ramp

primary
#7825AC
secondary
#8CC667
accent
#E84081
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7825AC

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

Preview Lab → · Contrast checker → · Palette generator →

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