#825DC7#825DC7

#825DC7 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.7% C 0.159 H 297.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#825DC7
RGBrgb(130, 93, 199)
HSLhsl(261, 49%, 57%)
HSVhsv(261, 53%, 78%)
CMYKcmyk(34.7%, 53.3%, 0%, 22%)
CIE-LABlab(47.88, 38.16, -50.12)
CIE-LCHlch(47.88, 62.99, 307.29°)
OKLaboklab(56.65% 0.0727 -0.1418)
OKLCHoklch(56.65% 0.159 297.1)
XYZxyz(23.4265, 16.6977, 56.0105)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#825DC7 #A2C75D
analogous
#5D6DC7 #825DC7 #B75DC7
triadic
#825DC7 #C7825D #5DC782
tetradic
#825DC7 #C75D6D #A2C75D #5DC7B7
square
#825DC7 #C75D6D #A2C75D #5DC7B7
split-complementary
#825DC7 #C7B75D #6DC75D
monochromatic
#482C7E #623BAC #825DC7 #A58AD7 #C8B8E6

Accessibility & contrast

On white

4.84
#825DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#825DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #825DC7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##825DC7#FFFFFF#000000##FFFFFF
##825DC71.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3272CB
Deuteranopia (green-blind)
#3D70C5
Tritanopia (blue-blind)
#727289
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #825dc7;
/* rgb */ color: rgb(130, 93, 199);
/* oklch */ color: oklch(56.7% 0.159 297.1);
Tailwind
colors: {
  custom: {
    50: '#aa8cd8',
    500: '#825dc7',
    950: '#000000',
  },
}
SCSS
$custom: #825dc7;
$custom-light: #aa8cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#825dc7",
  "rgb": {
    "r": 130,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 260.943,
    "s": 48.624,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56652,
    "c": 0.15932,
    "h": 297.1
  },
  "luminance": 0.16698
}

Semantic roles & 50–950 ramp

primary
#825DC7
secondary
#C6D5AA
accent
#D850A9
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #825DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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