#825DF2#825DF2

#825DF2 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.6% C 0.213 H 289.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#825DF2
RGBrgb(130, 93, 242)
HSLhsl(255, 85%, 66%)
HSVhsv(255, 62%, 95%)
CMYKcmyk(46.3%, 61.6%, 0%, 5.1%)
CIE-LABlab(50.67, 49.79, -70.01)
CIE-LCHlch(50.67, 85.91, 305.42°)
OKLaboklab(59.59% 0.0721 -0.2002)
OKLCHoklch(59.59% 0.213 289.8)
XYZxyz(29.1427, 18.9842, 86.1160)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#825DF2 #CDF25D
analogous
#5D82F2 #825DF2 #CC5DF2
triadic
#825DF2 #F2825D #5DF282
tetradic
#825DF2 #F25D82 #CDF25D #5DF2CC
square
#825DF2 #F25D82 #CDF25D #5DF2CC
split-complementary
#825DF2 #F2CC5D #82F25D
monochromatic
#3D10C5 #5624ED #825DF2 #AE96F7 #D9CEFB

Accessibility & contrast

On white

4.38
#825DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#825DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #825DF2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##825DF2#FFFFFF#000000##000000
##825DF21.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#5E809F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #825df2;
/* rgb */ color: rgb(130, 93, 242);
/* oklch */ color: oklch(59.6% 0.213 289.8);
Tailwind
colors: {
  custom: {
    50: '#ae8df7',
    500: '#825df2',
    950: '#000000',
  },
}
SCSS
$custom: #825df2;
$custom-light: #ae8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#825df2",
  "rgb": {
    "r": 130,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 254.899,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59591,
    "c": 0.21282,
    "h": 289.8
  },
  "luminance": 0.18985
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #825DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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