#825BB5#825BB5

#825BB5 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.2% C 0.139 H 302.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#825BB5
RGBrgb(130, 91, 181)
HSLhsl(266, 38%, 53%)
HSVhsv(266, 50%, 71%)
CMYKcmyk(28.2%, 49.7%, 0%, 29%)
CIE-LABlab(46.40, 34.68, -42.04)
CIE-LCHlch(46.40, 54.50, 309.52°)
OKLaboklab(55.22% 0.074 -0.1181)
OKLCHoklch(55.22% 0.139 302.1)
XYZxyz(21.2856, 15.5642, 45.5899)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#825BB5 #8EB55B
analogous
#5B61B5 #825BB5 #AF5BB5
triadic
#825BB5 #B5825B #5BB582
tetradic
#825BB5 #B55B61 #8EB55B #5BB5AF
square
#825BB5 #B55B61 #8EB55B #5BB5AF
split-complementary
#825BB5 #B5AF5B #61B55B
monochromatic
#472F67 #644291 #825BB5 #A285C8 #C2AFDB

Accessibility & contrast

On white

5.11
#825BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#825BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #825BB5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##825BB5#FFFFFF#000000##FFFFFF
##825BB51.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6DB8
Deuteranopia (green-blind)
#496EB3
Tritanopia (blue-blind)
#796B7F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #825bb5;
/* rgb */ color: rgb(130, 91, 181);
/* oklch */ color: oklch(55.2% 0.139 302.1);
Tailwind
colors: {
  custom: {
    50: '#a98acb',
    500: '#825bb5',
    950: '#000000',
  },
}
SCSS
$custom: #825bb5;
$custom-light: #a98acb;
$custom-dark: #000000;
JSON
{
  "hex": "#825bb5",
  "rgb": {
    "r": 130,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 266,
    "s": 37.815,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5522,
    "c": 0.13937,
    "h": 302.1
  },
  "luminance": 0.15564
}

Semantic roles & 50–950 ramp

primary
#825BB5
secondary
#B8C9A3
accent
#CE5A9C
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #825BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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