#825BB2#825BB2

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

Color values

HEX#825BB2
RGBrgb(130, 91, 178)
HSLhsl(267, 36%, 53%)
HSVhsv(267, 49%, 70%)
CMYKcmyk(27%, 48.9%, 0%, 30.2%)
CIE-LABlab(46.23, 33.93, -40.55)
CIE-LCHlch(46.23, 52.87, 309.92°)
OKLaboklab(55.05% 0.0736 -0.1138)
OKLCHoklch(55.05% 0.136 302.9)
XYZxyz(20.9811, 15.4424, 43.9862)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#825BB2 #8BB25B
analogous
#5B5FB2 #825BB2 #AE5BB2
triadic
#825BB2 #B2825B #5BB282
tetradic
#825BB2 #B25B5F #8BB25B #5BB2AE
square
#825BB2 #B25B5F #8BB25B #5BB2AE
split-complementary
#825BB2 #B2AE5B #5FB25B
monochromatic
#472F64 #64428D #825BB2 #A285C6 #C1AED9

Accessibility & contrast

On white

5.14
#825BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#825BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #825BB2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##825BB2#FFFFFF#000000##FFFFFF
##825BB21.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416DB5
Deuteranopia (green-blind)
#4B6DB0
Tritanopia (blue-blind)
#796B7E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #825bb2;
/* rgb */ color: rgb(130, 91, 178);
/* oklch */ color: oklch(55.0% 0.136 302.9);
Tailwind
colors: {
  custom: {
    50: '#a88ac9',
    500: '#825bb2',
    950: '#000000',
  },
}
SCSS
$custom: #825bb2;
$custom-light: #a88ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#825bb2",
  "rgb": {
    "r": 130,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 266.897,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55046,
    "c": 0.13552,
    "h": 302.9
  },
  "luminance": 0.15442
}

Semantic roles & 50–950 ramp

primary
#825BB2
secondary
#B6C7A2
accent
#CC5C9A
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #825BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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