#825EF5#825EF5

#825EF5 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.215 H 289.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#825EF5
RGBrgb(130, 94, 245)
HSLhsl(254, 88%, 66%)
HSVhsv(254, 62%, 96%)
CMYKcmyk(46.9%, 61.6%, 0%, 3.9%)
CIE-LABlab(51.09, 50.08, -71.01)
CIE-LCHlch(51.09, 86.89, 305.19°)
OKLaboklab(59.96% 0.0709 -0.2032)
OKLCHoklch(59.96% 0.215 289.2)
XYZxyz(29.6853, 19.3426, 88.5379)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#825EF5 #D1F55E
analogous
#5E86F5 #825EF5 #CE5EF5
triadic
#825EF5 #F5825E #5EF582
tetradic
#825EF5 #F55E86 #D1F55E #5EF5CE
square
#825EF5 #F55E86 #D1F55E #5EF5CE
split-complementary
#825EF5 #F5CE5E #86F55E
monochromatic
#3A0DCC #5524F1 #825EF5 #AF98F9 #DBD1FC

Accessibility & contrast

On white

4.31
#825EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#825EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #825EF5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##825EF5#FFFFFF#000000##000000
##825EF51.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFA
Deuteranopia (green-blind)
#0076F2
Tritanopia (blue-blind)
#5D82A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #825ef5;
/* rgb */ color: rgb(130, 94, 245);
/* oklch */ color: oklch(60.0% 0.215 289.2);
Tailwind
colors: {
  custom: {
    50: '#ae8df9',
    500: '#825ef5',
    950: '#000000',
  },
}
SCSS
$custom: #825ef5;
$custom-light: #ae8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#825ef5",
  "rgb": {
    "r": 130,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 254.305,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59961,
    "c": 0.21518,
    "h": 289.2
  },
  "luminance": 0.19344
}

Semantic roles & 50–950 ramp

primary
#825EF5
secondary
#E4F0BF
accent
#E501AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #825EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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