#825FF2#825FF2

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

Color values

HEX#825FF2
RGBrgb(130, 95, 242)
HSLhsl(254, 85%, 66%)
HSVhsv(254, 61%, 95%)
CMYKcmyk(46.3%, 60.7%, 0%, 5.1%)
CIE-LABlab(51.08, 48.69, -69.34)
CIE-LCHlch(51.08, 84.73, 305.08°)
OKLaboklab(59.89% 0.07 -0.1983)
OKLCHoklch(59.89% 0.21 289.5)
XYZxyz(29.3206, 19.3399, 86.1753)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#825FF2 #CFF25F
analogous
#5F85F2 #825FF2 #CC5FF2
triadic
#825FF2 #F2825F #5FF282
tetradic
#825FF2 #F25F85 #CFF25F #5FF2CC
square
#825FF2 #F25F85 #CFF25F #5FF2CC
split-complementary
#825FF2 #F2CC5F #85F25F
monochromatic
#3C10C6 #5626ED #825FF2 #AE98F7 #DAD0FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##825FF2#FFFFFF#000000##000000
##825FF21.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)
#007DF7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#5E81A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #825ff2;
/* rgb */ color: rgb(130, 95, 242);
/* oklch */ color: oklch(59.9% 0.210 289.5);
Tailwind
colors: {
  custom: {
    50: '#ae8ef7',
    500: '#825ff2',
    950: '#000000',
  },
}
SCSS
$custom: #825ff2;
$custom-light: #ae8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#825ff2",
  "rgb": {
    "r": 130,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 254.286,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59893,
    "c": 0.21027,
    "h": 289.5
  },
  "luminance": 0.19341
}

Semantic roles & 50–950 ramp

primary
#825FF2
secondary
#E3EFBE
accent
#E104AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #825FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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