#825AB2#825AB2

#825AB2 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 54.9% C 0.137 H 303.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#825AB2
RGBrgb(130, 90, 178)
HSLhsl(267, 36%, 53%)
HSVhsv(267, 49%, 70%)
CMYKcmyk(27%, 49.4%, 0%, 30.2%)
CIE-LABlab(46.01, 34.51, -40.91)
CIE-LCHlch(46.01, 53.52, 310.15°)
OKLaboklab(54.87% 0.075 -0.1148)
OKLCHoklch(54.87% 0.137 303.2)
XYZxyz(20.8962, 15.2725, 43.9579)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#825AB2 #8AB25A
analogous
#5A5EB2 #825AB2 #AE5AB2
triadic
#825AB2 #B2825A #5AB282
tetradic
#825AB2 #B25A5E #8AB25A #5AB2AE
square
#825AB2 #B25A5E #8AB25A #5AB2AE
split-complementary
#825AB2 #B2AE5A #5EB25A
monochromatic
#462E63 #64428D #825AB2 #A284C5 #C1ADD9

Accessibility & contrast

On white

5.18
#825AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#825AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #825AB2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##825AB2#FFFFFF#000000##FFFFFF
##825AB21.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#4A6DB0
Tritanopia (blue-blind)
#796A7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #825ab2;
/* rgb */ color: rgb(130, 90, 178);
/* oklch */ color: oklch(54.9% 0.137 303.2);
Tailwind
colors: {
  custom: {
    50: '#a889c9',
    500: '#825ab2',
    950: '#000000',
  },
}
SCSS
$custom: #825ab2;
$custom-light: #a889c9;
$custom-dark: #000000;
JSON
{
  "hex": "#825ab2",
  "rgb": {
    "r": 130,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 267.273,
    "s": 36.364,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54875,
    "c": 0.13716,
    "h": 303.2
  },
  "luminance": 0.15273
}

Semantic roles & 50–950 ramp

primary
#825AB2
secondary
#B6C7A1
accent
#CC5B99
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #825AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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