#825BB1#825BB1

#825BB1 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.0% C 0.134 H 303.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#825BB1
RGBrgb(130, 91, 177)
HSLhsl(267, 36%, 53%)
HSVhsv(267, 49%, 69%)
CMYKcmyk(26.6%, 48.6%, 0%, 30.6%)
CIE-LABlab(46.18, 33.68, -40.05)
CIE-LCHlch(46.18, 52.33, 310.06°)
OKLaboklab(54.99% 0.0735 -0.1123)
OKLCHoklch(54.99% 0.134 303.2)
XYZxyz(20.8811, 15.4024, 43.4593)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#825BB1 #8AB15B
analogous
#5B5FB1 #825BB1 #AD5BB1
triadic
#825BB1 #B1825B #5BB182
tetradic
#825BB1 #B15B5F #8AB15B #5BB1AD
square
#825BB1 #B15B5F #8AB15B #5BB1AD
split-complementary
#825BB1 #B1AD5B #5FB15B
monochromatic
#462F63 #64438C #825BB1 #A284C5 #C1AED8

Accessibility & contrast

On white

5.15
#825BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#825BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #825BB1
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##825BB1#FFFFFF#000000##FFFFFF
##825BB11.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426DB4
Deuteranopia (green-blind)
#4C6DAF
Tritanopia (blue-blind)
#7A6A7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #825bb1;
/* rgb */ color: rgb(130, 91, 177);
/* oklch */ color: oklch(55.0% 0.134 303.2);
Tailwind
colors: {
  custom: {
    50: '#a88ac9',
    500: '#825bb1',
    950: '#000000',
  },
}
SCSS
$custom: #825bb1;
$custom-light: #a88ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#825bb1",
  "rgb": {
    "r": 130,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 267.209,
    "s": 35.537,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54988,
    "c": 0.13423,
    "h": 303.2
  },
  "luminance": 0.15402
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #825BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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