#825AE2#825AE2

#825AE2 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.0% C 0.197 H 292.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#825AE2
RGBrgb(130, 90, 226)
HSLhsl(258, 70%, 62%)
HSVhsv(258, 60%, 89%)
CMYKcmyk(42.5%, 60.2%, 0%, 11.4%)
CIE-LABlab(48.94, 47.06, -63.81)
CIE-LCHlch(48.94, 79.29, 306.41°)
OKLaboklab(57.99% 0.0763 -0.182)
OKLCHoklch(57.99% 0.197 292.7)
XYZxyz(26.5858, 17.5484, 73.9232)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#825AE2 #BAE25A
analogous
#5A76E2 #825AE2 #C65AE2
triadic
#825AE2 #E2825A #5AE282
tetradic
#825AE2 #E25A76 #BAE25A #5AE2C6
square
#825AE2 #E25A76 #BAE25A #5AE2C6
split-complementary
#825AE2 #E2C65A #76E25A
monochromatic
#451DA5 #5B26D9 #825AE2 #A98EEB #D1C2F4

Accessibility & contrast

On white

4.66
#825AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#825AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #825AE2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##825AE2#FFFFFF#000000##FFFFFF
##825AE21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#677996
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #825ae2;
/* rgb */ color: rgb(130, 90, 226);
/* oklch */ color: oklch(58.0% 0.197 292.7);
Tailwind
colors: {
  custom: {
    50: '#ac8aec',
    500: '#825ae2',
    950: '#000000',
  },
}
SCSS
$custom: #825ae2;
$custom-light: #ac8aec;
$custom-dark: #000000;
JSON
{
  "hex": "#825ae2",
  "rgb": {
    "r": 130,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 257.647,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57985,
    "c": 0.19733,
    "h": 292.7
  },
  "luminance": 0.17549
}

Semantic roles & 50–950 ramp

primary
#825AE2
secondary
#D6E5B3
accent
#D2139A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #825AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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