#825DB2#825DB2

#825DB2 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.4% C 0.132 H 302.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#825DB2
RGBrgb(130, 93, 178)
HSLhsl(266, 36%, 53%)
HSVhsv(266, 48%, 70%)
CMYKcmyk(27%, 47.8%, 0%, 30.2%)
CIE-LABlab(46.70, 32.77, -39.82)
CIE-LCHlch(46.70, 51.57, 309.45°)
OKLaboklab(55.39% 0.0708 -0.1116)
OKLCHoklch(55.39% 0.132 302.4)
XYZxyz(21.1544, 15.7889, 44.0439)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#825DB2 #8DB25D
analogous
#5D62B2 #825DB2 #AD5DB2
triadic
#825DB2 #B2825D #5DB282
tetradic
#825DB2 #B25D62 #8DB25D #5DB2AD
square
#825DB2 #B25D62 #8DB25D #5DB2AD
split-complementary
#825DB2 #B2AD5D #62B25D
monochromatic
#473065 #64448E #825DB2 #A286C6 #C2B0D9

Accessibility & contrast

On white

5.05
#825DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#825DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #825DB2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##825DB2#FFFFFF#000000##FFFFFF
##825DB21.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446EB5
Deuteranopia (green-blind)
#4D6EB0
Tritanopia (blue-blind)
#796C7F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #825db2;
/* rgb */ color: rgb(130, 93, 178);
/* oklch */ color: oklch(55.4% 0.132 302.4);
Tailwind
colors: {
  custom: {
    50: '#a88cc9',
    500: '#825db2',
    950: '#000000',
  },
}
SCSS
$custom: #825db2;
$custom-light: #a88cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#825db2",
  "rgb": {
    "r": 130,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 266.118,
    "s": 35.565,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55391,
    "c": 0.13221,
    "h": 302.4
  },
  "luminance": 0.15789
}

Semantic roles & 50–950 ramp

primary
#825DB2
secondary
#B8C8A3
accent
#CC5C9B
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #825DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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