#7825AF#7825AF

#7825AF is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.204 H 307.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7825AF
RGBrgb(120, 37, 175)
HSLhsl(276, 65%, 42%)
HSVhsv(276, 79%, 69%)
CMYKcmyk(31.4%, 78.9%, 0%, 31.4%)
CIE-LABlab(34.83, 57.82, -57.17)
CIE-LCHlch(34.83, 81.31, 315.33°)
OKLaboklab(46.44% 0.1236 -0.1626)
OKLCHoklch(46.44% 0.204 307.2)
XYZxyz(16.1435, 8.4116, 41.3223)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7825AF #5CAF25
analogous
#3325AF #7825AF #AF25A1
triadic
#7825AF #AF7825 #25AF78
tetradic
#7825AF #AF3325 #5CAF25 #25A1AF
square
#7825AF #AF3325 #5CAF25 #25A1AF
split-complementary
#7825AF #A1AF25 #25AF33
monochromatic
#33104A #551A7C #7825AF #983CD6 #B36EE0

Accessibility & contrast

On white

7.83
#7825AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7825AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7825AF#FFFFFF#000000##FFFFFF
##7825AF1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#6F496A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7825af;
/* rgb */ color: rgb(120, 37, 175);
/* oklch */ color: oklch(46.4% 0.204 307.2);
Tailwind
colors: {
  custom: {
    50: '#a46ac8',
    500: '#7825af',
    950: '#000000',
  },
}
SCSS
$custom: #7825af;
$custom-light: #a46ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7825af",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 276.087,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46438,
    "c": 0.20423,
    "h": 307.2
  },
  "luminance": 0.08411
}

Semantic roles & 50–950 ramp

primary
#7825AF
secondary
#8EC769
accent
#E84083
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7825AF

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

Preview Lab → · Contrast checker → · Palette generator →

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