#825EF6#825EF6

#825EF6 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.0% C 0.216 H 289.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#825EF6
RGBrgb(130, 94, 246)
HSLhsl(254, 89%, 67%)
HSVhsv(254, 62%, 96%)
CMYKcmyk(47.2%, 61.8%, 0%, 3.5%)
CIE-LABlab(51.16, 50.35, -71.45)
CIE-LCHlch(51.16, 87.41, 305.17°)
OKLaboklab(60.04% 0.0708 -0.2045)
OKLCHoklch(60.04% 0.216 289.1)
XYZxyz(29.8384, 19.4038, 89.3440)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#825EF6 #D2F65E
analogous
#5E86F6 #825EF6 #CE5EF6
triadic
#825EF6 #F6825E #5EF682
tetradic
#825EF6 #F65E86 #D2F65E #5EF6CE
square
#825EF6 #F65E86 #D2F65E #5EF6CE
split-complementary
#825EF6 #F6CE5E #86F65E
monochromatic
#3A0CCE #5524F3 #825EF6 #AF98F9 #DCD2FC

Accessibility & contrast

On white

4.30
#825EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#825EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #825EF6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##825EF6#FFFFFF#000000##000000
##825EF61.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0076F3
Tritanopia (blue-blind)
#5C82A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #825ef6;
/* rgb */ color: rgb(130, 94, 246);
/* oklch */ color: oklch(60.0% 0.216 289.1);
Tailwind
colors: {
  custom: {
    50: '#ae8dfa',
    500: '#825ef6',
    950: '#000000',
  },
}
SCSS
$custom: #825ef6;
$custom-light: #ae8dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#825ef6",
  "rgb": {
    "r": 130,
    "g": 94,
    "b": 246
  },
  "hsl": {
    "h": 254.211,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60035,
    "c": 0.21638,
    "h": 289.1
  },
  "luminance": 0.19405
}

Semantic roles & 50–950 ramp

primary
#825EF6
secondary
#E5F0BF
accent
#E600AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #825EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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