#7825B0#7825B0

#7825B0 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.205 H 306.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7825B0
RGBrgb(120, 37, 176)
HSLhsl(276, 65%, 42%)
HSVhsv(276, 79%, 69%)
CMYKcmyk(31.8%, 79%, 0%, 31%)
CIE-LABlab(34.91, 58.04, -57.64)
CIE-LCHlch(34.91, 81.80, 315.20°)
OKLaboklab(46.52% 0.1233 -0.164)
OKLCHoklch(46.52% 0.205 306.9)
XYZxyz(16.2421, 8.4510, 41.8414)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7825B0 #5DB025
analogous
#3225B0 #7825B0 #B025A3
triadic
#7825B0 #B07825 #25B078
tetradic
#7825B0 #B03225 #5DB025 #25A3B0
square
#7825B0 #B03225 #5DB025 #25A3B0
split-complementary
#7825B0 #A3B025 #25B032
monochromatic
#33104B #561A7D #7825B0 #983CD6 #B36FE1

Accessibility & contrast

On white

7.81
#7825B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7825B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7825B0
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7825B0#FFFFFF#000000##FFFFFF
##7825B01.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#6E496B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7825b0;
/* rgb */ color: rgb(120, 37, 176);
/* oklch */ color: oklch(46.5% 0.205 306.9);
Tailwind
colors: {
  custom: {
    50: '#a46ac9',
    500: '#7825b0',
    950: '#000000',
  },
}
SCSS
$custom: #7825b0;
$custom-light: #a46ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#7825b0",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 275.827,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46519,
    "c": 0.20518,
    "h": 306.9
  },
  "luminance": 0.08451
}

Semantic roles & 50–950 ramp

primary
#7825B0
secondary
#8FC76A
accent
#E84084
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7825B0

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

Preview Lab → · Contrast checker → · Palette generator →

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