#7825AA#7825AA

#7825AA is a mid, vivid violet. Relative luminance 0.082; OKLCH L 46.0% C 0.200 H 308.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7825AA
RGBrgb(120, 37, 170)
HSLhsl(277, 64%, 41%)
HSVhsv(277, 78%, 67%)
CMYKcmyk(29.4%, 78.2%, 0%, 33.3%)
CIE-LABlab(34.43, 56.73, -54.82)
CIE-LCHlch(34.43, 78.88, 315.98°)
OKLaboklab(46.04% 0.1247 -0.1557)
OKLCHoklch(46.04% 0.2 308.7)
XYZxyz(15.6615, 8.2188, 38.7838)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7825AA #57AA25
analogous
#3625AA #7825AA #AA2599
triadic
#7825AA #AA7825 #25AA78
tetradic
#7825AA #AA3625 #57AA25 #2599AA
square
#7825AA #AA3625 #57AA25 #2599AA
split-complementary
#7825AA #99AA25 #25AA36
monochromatic
#310F45 #551A78 #7825AA #9938D4 #B36BDF

Accessibility & contrast

On white

7.94
#7825AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7825AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7825AA#FFFFFF#000000##FFFFFF
##7825AA1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0052A7
Tritanopia (blue-blind)
#704667
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7825aa;
/* rgb */ color: rgb(120, 37, 170);
/* oklch */ color: oklch(46.0% 0.200 308.7);
Tailwind
colors: {
  custom: {
    50: '#a469c4',
    500: '#7825aa',
    950: '#000000',
  },
}
SCSS
$custom: #7825aa;
$custom-light: #a469c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7825aa",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 277.444,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46042,
    "c": 0.1995,
    "h": 308.7
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#7825AA
secondary
#8AC566
accent
#E7417F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7825AA

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

Preview Lab → · Contrast checker → · Palette generator →

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