#7825B6#7825B6

#7825B6 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.211 H 305.3°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7825B6
RGBrgb(120, 37, 182)
HSLhsl(274, 66%, 43%)
HSVhsv(274, 80%, 71%)
CMYKcmyk(34.1%, 79.7%, 0%, 28.6%)
CIE-LABlab(35.39, 59.38, -60.42)
CIE-LCHlch(35.39, 84.71, 314.50°)
OKLaboklab(47.01% 0.1218 -0.1721)
OKLCHoklch(47.01% 0.211 305.3)
XYZxyz(16.8489, 8.6937, 45.0373)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7825B6 #63B625
analogous
#3025B6 #7825B6 #B625AB
triadic
#7825B6 #B67825 #25B678
tetradic
#7825B6 #B63025 #63B625 #25ABB6
square
#7825B6 #B63025 #63B625 #25ABB6
split-complementary
#7825B6 #ABB625 #25B630
monochromatic
#351050 #561B83 #7825B6 #9740D8 #B373E3

Accessibility & contrast

On white

7.67
#7825B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7825B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7825B6#FFFFFF#000000##FFFFFF
##7825B61.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#6C4C6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7825b6;
/* rgb */ color: rgb(120, 37, 182);
/* oklch */ color: oklch(47.0% 0.211 305.3);
Tailwind
colors: {
  custom: {
    50: '#a56acd',
    500: '#7825b6',
    950: '#000000',
  },
}
SCSS
$custom: #7825b6;
$custom-light: #a56acd;
$custom-dark: #000000;
JSON
{
  "hex": "#7825b6",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 182
  },
  "hsl": {
    "h": 274.345,
    "s": 66.21,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47006,
    "c": 0.21087,
    "h": 305.3
  },
  "luminance": 0.08694
}

Semantic roles & 50–950 ramp

primary
#7825B6
secondary
#95CA6D
accent
#E93F88
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7825B6

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

Preview Lab → · Contrast checker → · Palette generator →

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