#825DD2#825DD2

#825DD2 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.4% C 0.173 H 294.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#825DD2
RGBrgb(130, 93, 210)
HSLhsl(259, 57%, 59%)
HSVhsv(259, 56%, 82%)
CMYKcmyk(38.1%, 55.7%, 0%, 17.6%)
CIE-LABlab(48.55, 41.08, -55.36)
CIE-LCHlch(48.55, 68.93, 306.58°)
OKLaboklab(57.36% 0.0731 -0.1571)
OKLCHoklch(57.36% 0.173 294.9)
XYZxyz(24.7501, 17.2272, 62.9815)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#825DD2 #ADD25D
analogous
#5D73D2 #825DD2 #BC5DD2
triadic
#825DD2 #D2825D #5DD282
tetradic
#825DD2 #D25D73 #ADD25D #5DD2BC
square
#825DD2 #D25D73 #ADD25D #5DD2BC
split-complementary
#825DD2 #D2BC5D #73D25D
monochromatic
#48278D #6035BD #825DD2 #A78DDF #CCBDED

Accessibility & contrast

On white

4.72
#825DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#825DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #825DD2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##825DD2#FFFFFF#000000##FFFFFF
##825DD21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2374D6
Deuteranopia (green-blind)
#3071CF
Tritanopia (blue-blind)
#6E758F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #825dd2;
/* rgb */ color: rgb(130, 93, 210);
/* oklch */ color: oklch(57.4% 0.173 294.9);
Tailwind
colors: {
  custom: {
    50: '#ab8ce0',
    500: '#825dd2',
    950: '#000000',
  },
}
SCSS
$custom: #825dd2;
$custom-light: #ab8ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#825dd2",
  "rgb": {
    "r": 130,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 258.974,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5736,
    "c": 0.1733,
    "h": 294.9
  },
  "luminance": 0.17228
}

Semantic roles & 50–950 ramp

primary
#825DD2
secondary
#CEDCAF
accent
#E048B0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #825DD2

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

Preview Lab → · Contrast checker → · Palette generator →

#825DD2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva