#7825A9#7825A9

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

Color values

HEX#7825A9
RGBrgb(120, 37, 169)
HSLhsl(278, 64%, 40%)
HSVhsv(278, 78%, 66%)
CMYKcmyk(29%, 78.1%, 0%, 33.7%)
CIE-LABlab(34.36, 56.51, -54.34)
CIE-LCHlch(34.36, 78.40, 316.12°)
OKLaboklab(45.96% 0.125 -0.1543)
OKLCHoklch(45.96% 0.199 309)
XYZxyz(15.5673, 8.1811, 38.2875)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7825A9 #56A925
analogous
#3625A9 #7825A9 #A92598
triadic
#7825A9 #A97825 #25A978
tetradic
#7825A9 #A93625 #56A925 #2598A9
square
#7825A9 #A93625 #56A925 #2598A9
split-complementary
#7825A9 #98A925 #25A936
monochromatic
#310F45 #541A77 #7825A9 #9A38D3 #B36ADE

Accessibility & contrast

On white

7.97
#7825A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7825A9#FFFFFF#000000##FFFFFF
##7825A91.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7825a9;
/* rgb */ color: rgb(120, 37, 169);
/* oklch */ color: oklch(46.0% 0.199 309.0);
Tailwind
colors: {
  custom: {
    50: '#a469c3',
    500: '#7825a9',
    950: '#000000',
  },
}
SCSS
$custom: #7825a9;
$custom-light: #a469c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7825a9",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 277.727,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45963,
    "c": 0.19855,
    "h": 309
  },
  "luminance": 0.08181
}

Semantic roles & 50–950 ramp

primary
#7825A9
secondary
#89C465
accent
#E7417E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7825A9

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

Preview Lab → · Contrast checker → · Palette generator →

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