#7825C4#7825C4

#7825C4 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.2% C 0.224 H 301.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7825C4
RGBrgb(120, 37, 196)
HSLhsl(271, 68%, 46%)
HSVhsv(271, 81%, 77%)
CMYKcmyk(38.8%, 81.1%, 0%, 23.1%)
CIE-LABlab(36.56, 62.53, -66.75)
CIE-LCHlch(36.56, 91.47, 313.13°)
OKLaboklab(48.18% 0.1178 -0.1907)
OKLCHoklch(48.18% 0.224 301.7)
XYZxyz(18.3687, 9.3016, 53.0415)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7825C4 #71C425
analogous
#2925C4 #7825C4 #C425C0
triadic
#7825C4 #C47825 #25C478
tetradic
#7825C4 #C42925 #71C425 #25C0C4
square
#7825C4 #C42925 #71C425 #25C0C4
split-complementary
#7825C4 #C0C425 #25C429
monochromatic
#39125D #581B91 #7825C4 #9649DD #B47DE6

Accessibility & contrast

On white

7.34
#7825C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7825C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7825C4
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7825C4#FFFFFF#000000##FFFFFF
##7825C41.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#675276
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7825c4;
/* rgb */ color: rgb(120, 37, 196);
/* oklch */ color: oklch(48.2% 0.224 301.7);
Tailwind
colors: {
  custom: {
    50: '#a66bd7',
    500: '#7825c4',
    950: '#000000',
  },
}
SCSS
$custom: #7825c4;
$custom-light: #a66bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7825c4",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 196
  },
  "hsl": {
    "h": 271.321,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48182,
    "c": 0.22418,
    "h": 301.7
  },
  "luminance": 0.09302
}

Semantic roles & 50–950 ramp

primary
#7825C4
secondary
#A0CF76
accent
#EB3D90
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7825C4

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

Preview Lab → · Contrast checker → · Palette generator →

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