#825DCB#825DCB

#825DCB is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.9% C 0.164 H 296.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#825DCB
RGBrgb(130, 93, 203)
HSLhsl(260, 51%, 58%)
HSVhsv(260, 54%, 80%)
CMYKcmyk(36%, 54.2%, 0%, 20.4%)
CIE-LABlab(48.12, 39.21, -52.04)
CIE-LCHlch(48.12, 65.16, 307.00°)
OKLaboklab(56.91% 0.0729 -0.1474)
OKLCHoklch(56.91% 0.164 296.3)
XYZxyz(23.8970, 16.8859, 58.4886)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#825DCB #A6CB5D
analogous
#5D6FCB #825DCB #B95DCB
triadic
#825DCB #CB825D #5DCB82
tetradic
#825DCB #CB5D6F #A6CB5D #5DCBB9
square
#825DCB #CB5D6F #A6CB5D #5DCBB9
split-complementary
#825DCB #CBB95D #6FCB5D
monochromatic
#482A83 #6239B2 #825DCB #A68BDA #C9BAE9

Accessibility & contrast

On white

4.80
#825DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#825DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #825DCB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##825DCB#FFFFFF#000000##FFFFFF
##825DCB1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E73CF
Deuteranopia (green-blind)
#3871C8
Tritanopia (blue-blind)
#71738B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #825dcb;
/* rgb */ color: rgb(130, 93, 203);
/* oklch */ color: oklch(56.9% 0.164 296.3);
Tailwind
colors: {
  custom: {
    50: '#aa8cdb',
    500: '#825dcb',
    950: '#000000',
  },
}
SCSS
$custom: #825dcb;
$custom-light: #aa8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#825dcb",
  "rgb": {
    "r": 130,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 260.182,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56906,
    "c": 0.16442,
    "h": 296.3
  },
  "luminance": 0.16886
}

Semantic roles & 50–950 ramp

primary
#825DCB
secondary
#C9D8AC
accent
#DB4DAB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #825DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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