#7825B7#7825B7

#7825B7 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.1% C 0.212 H 305.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7825B7
RGBrgb(120, 37, 183)
HSLhsl(274, 66%, 43%)
HSVhsv(274, 80%, 72%)
CMYKcmyk(34.4%, 79.8%, 0%, 28.2%)
CIE-LABlab(35.47, 59.60, -60.88)
CIE-LCHlch(35.47, 85.19, 314.39°)
OKLaboklab(47.09% 0.1215 -0.1735)
OKLCHoklch(47.09% 0.212 305)
XYZxyz(16.9526, 8.7352, 45.5835)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7825B7 #64B725
analogous
#2F25B7 #7825B7 #B725AD
triadic
#7825B7 #B77825 #25B778
tetradic
#7825B7 #B72F25 #64B725 #25ADB7
square
#7825B7 #B72F25 #64B725 #25ADB7
split-complementary
#7825B7 #ADB725 #25B72F
monochromatic
#351051 #571B84 #7825B7 #9741D9 #B374E3

Accessibility & contrast

On white

7.64
#7825B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7825B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7825B7
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7825B7#FFFFFF#000000##FFFFFF
##7825B71.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#6C4C6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7825b7;
/* rgb */ color: rgb(120, 37, 183);
/* oklch */ color: oklch(47.1% 0.212 305.0);
Tailwind
colors: {
  custom: {
    50: '#a56ace',
    500: '#7825b7',
    950: '#000000',
  },
}
SCSS
$custom: #7825b7;
$custom-light: #a56ace;
$custom-dark: #000000;
JSON
{
  "hex": "#7825b7",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 183
  },
  "hsl": {
    "h": 274.11,
    "s": 66.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47088,
    "c": 0.21182,
    "h": 305
  },
  "luminance": 0.08735
}

Semantic roles & 50–950 ramp

primary
#7825B7
secondary
#96CA6E
accent
#E93F88
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7825B7

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

Preview Lab → · Contrast checker → · Palette generator →

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