#825EF2#825EF2

#825EF2 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.7% C 0.212 H 289.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#825EF2
RGBrgb(130, 94, 242)
HSLhsl(255, 85%, 66%)
HSVhsv(255, 61%, 95%)
CMYKcmyk(46.3%, 61.2%, 0%, 5.1%)
CIE-LABlab(50.87, 49.24, -69.68)
CIE-LCHlch(50.87, 85.32, 305.25°)
OKLaboklab(59.74% 0.0711 -0.1992)
OKLCHoklch(59.74% 0.212 289.6)
XYZxyz(29.2311, 19.1609, 86.1454)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#825EF2 #CEF25E
analogous
#5E84F2 #825EF2 #CC5EF2
triadic
#825EF2 #F2825E #5EF282
tetradic
#825EF2 #F25E84 #CEF25E #5EF2CC
square
#825EF2 #F25E84 #CEF25E #5EF2CC
split-complementary
#825EF2 #F2CC5E #84F25E
monochromatic
#3C10C6 #5625ED #825EF2 #AE97F7 #DACFFB

Accessibility & contrast

On white

4.35
#825EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#825EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #825EF2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##825EF2#FFFFFF#000000##000000
##825EF21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#5E819F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #825ef2;
/* rgb */ color: rgb(130, 94, 242);
/* oklch */ color: oklch(59.7% 0.212 289.6);
Tailwind
colors: {
  custom: {
    50: '#ae8df7',
    500: '#825ef2',
    950: '#000000',
  },
}
SCSS
$custom: #825ef2;
$custom-light: #ae8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#825ef2",
  "rgb": {
    "r": 130,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 254.595,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59741,
    "c": 0.21155,
    "h": 289.6
  },
  "luminance": 0.19162
}

Semantic roles & 50–950 ramp

primary
#825EF2
secondary
#E2EEBD
accent
#E204AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #825EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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