#7825A8#7825A8

#7825A8 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.9% C 0.198 H 309.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7825A8
RGBrgb(120, 37, 168)
HSLhsl(278, 64%, 40%)
HSVhsv(278, 78%, 66%)
CMYKcmyk(28.6%, 78%, 0%, 34.1%)
CIE-LABlab(34.28, 56.29, -53.87)
CIE-LCHlch(34.28, 77.91, 316.26°)
OKLaboklab(45.89% 0.1252 -0.1529)
OKLCHoklch(45.89% 0.198 309.3)
XYZxyz(15.4737, 8.1437, 37.7949)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7825A8 #55A825
analogous
#3625A8 #7825A8 #A82596
triadic
#7825A8 #A87825 #25A878
tetradic
#7825A8 #A83625 #55A825 #2596A8
square
#7825A8 #A83625 #55A825 #2596A8
split-complementary
#7825A8 #96A825 #25A836
monochromatic
#300F44 #541A76 #7825A8 #9A37D3 #B369DE

Accessibility & contrast

On white

7.99
#7825A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7825A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7825A8#FFFFFF#000000##FFFFFF
##7825A81.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#714566
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7825a8;
/* rgb */ color: rgb(120, 37, 168);
/* oklch */ color: oklch(45.9% 0.198 309.3);
Tailwind
colors: {
  custom: {
    50: '#a469c3',
    500: '#7825a8',
    950: '#000000',
  },
}
SCSS
$custom: #7825a8;
$custom-light: #a469c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7825a8",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 278.015,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45885,
    "c": 0.19761,
    "h": 309.3
  },
  "luminance": 0.08143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7825A8

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

Preview Lab → · Contrast checker → · Palette generator →

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