#825AC7#825AC7

#825AC7 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.2% C 0.164 H 297.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#825AC7
RGBrgb(130, 90, 199)
HSLhsl(262, 49%, 57%)
HSVhsv(262, 55%, 78%)
CMYKcmyk(34.7%, 54.8%, 0%, 22%)
CIE-LABlab(47.21, 39.87, -51.18)
CIE-LCHlch(47.21, 64.88, 307.92°)
OKLaboklab(56.16% 0.0765 -0.1449)
OKLCHoklch(56.16% 0.164 297.8)
XYZxyz(23.1683, 16.1814, 55.9245)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#825AC7 #9FC75A
analogous
#5A69C7 #825AC7 #B85AC7
triadic
#825AC7 #C7825A #5AC782
tetradic
#825AC7 #C75A69 #9FC75A #5AC7B8
square
#825AC7 #C75A69 #9FC75A #5AC7B8
split-complementary
#825AC7 #C7B85A #69C75A
monochromatic
#482A7C #633AAA #825AC7 #A588D7 #C7B5E6

Accessibility & contrast

On white

4.96
#825AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#825AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #825AC7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##825AC7#FFFFFF#000000##FFFFFF
##825AC71.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B70CB
Deuteranopia (green-blind)
#386FC4
Tritanopia (blue-blind)
#737088
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #825ac7;
/* rgb */ color: rgb(130, 90, 199);
/* oklch */ color: oklch(56.2% 0.164 297.8);
Tailwind
colors: {
  custom: {
    50: '#aa8ad9',
    500: '#825ac7',
    950: '#000000',
  },
}
SCSS
$custom: #825ac7;
$custom-light: #aa8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#825ac7",
  "rgb": {
    "r": 130,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 262.018,
    "s": 49.321,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5616,
    "c": 0.16386,
    "h": 297.8
  },
  "luminance": 0.16182
}

Semantic roles & 50–950 ramp

primary
#825AC7
secondary
#C4D5A8
accent
#D94FA6
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #825AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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