#7825A7#7825A7

#7825A7 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.197 H 309.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7825A7
RGBrgb(120, 37, 167)
HSLhsl(278, 64%, 40%)
HSVhsv(278, 78%, 65%)
CMYKcmyk(28.1%, 77.8%, 0%, 34.5%)
CIE-LABlab(34.20, 56.07, -53.39)
CIE-LCHlch(34.20, 77.43, 316.40°)
OKLaboklab(45.81% 0.1254 -0.1515)
OKLCHoklch(45.81% 0.197 309.6)
XYZxyz(15.3809, 8.1065, 37.3062)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7825A7 #54A725
analogous
#3725A7 #7825A7 #A72595
triadic
#7825A7 #A77825 #25A778
tetradic
#7825A7 #A73725 #54A725 #2595A7
square
#7825A7 #A73725 #54A725 #2595A7
split-complementary
#7825A7 #95A725 #25A737
monochromatic
#300F43 #541A75 #7825A7 #9A37D3 #B369DE

Accessibility & contrast

On white

8.01
#7825A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7825A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7825A7#FFFFFF#000000##FFFFFF
##7825A71.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#714565
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7825a7;
/* rgb */ color: rgb(120, 37, 167);
/* oklch */ color: oklch(45.8% 0.197 309.6);
Tailwind
colors: {
  custom: {
    50: '#a469c2',
    500: '#7825a7',
    950: '#000000',
  },
}
SCSS
$custom: #7825a7;
$custom-light: #a469c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7825a7",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 278.308,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.45808,
    "c": 0.19665,
    "h": 309.6
  },
  "luminance": 0.08106
}

Semantic roles & 50–950 ramp

primary
#7825A7
secondary
#87C464
accent
#E7417D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7825A7

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

Preview Lab → · Contrast checker → · Palette generator →

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