#7825C1#7825C1

#7825C1 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.9% C 0.221 H 302.4°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#7825C1
RGBrgb(120, 37, 193)
HSLhsl(272, 68%, 45%)
HSVhsv(272, 81%, 76%)
CMYKcmyk(37.8%, 80.8%, 0%, 24.3%)
CIE-LABlab(36.30, 61.85, -65.41)
CIE-LCHlch(36.30, 90.02, 313.40°)
OKLaboklab(47.93% 0.1187 -0.1868)
OKLCHoklch(47.93% 0.221 302.4)
XYZxyz(18.0306, 9.1664, 51.2611)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7825C1 #6EC125
analogous
#2A25C1 #7825C1 #C125BC
triadic
#7825C1 #C17825 #25C178
tetradic
#7825C1 #C12A25 #6EC125 #25BCC1
square
#7825C1 #C12A25 #6EC125 #25BCC1
split-complementary
#7825C1 #BCC125 #25C12A
monochromatic
#38115A #581B8E #7825C1 #9647DC #B47BE6

Accessibility & contrast

On white

7.41
#7825C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7825C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7825C1
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7825C1#FFFFFF#000000##FFFFFF
##7825C11.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#685074
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7825c1;
/* rgb */ color: rgb(120, 37, 193);
/* oklch */ color: oklch(47.9% 0.221 302.4);
Tailwind
colors: {
  custom: {
    50: '#a66bd5',
    500: '#7825c1',
    950: '#000000',
  },
}
SCSS
$custom: #7825c1;
$custom-light: #a66bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7825c1",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 193
  },
  "hsl": {
    "h": 271.923,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47926,
    "c": 0.22133,
    "h": 302.4
  },
  "luminance": 0.09166
}

Semantic roles & 50–950 ramp

primary
#7825C1
secondary
#9ECE74
accent
#EB3D8E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7825C1

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

Preview Lab → · Contrast checker → · Palette generator →

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