#825CEB#825CEB

#825CEB is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 58.9% C 0.206 H 291.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#825CEB
RGBrgb(130, 92, 235)
HSLhsl(256, 78%, 64%)
HSVhsv(256, 61%, 92%)
CMYKcmyk(44.7%, 60.9%, 0%, 7.8%)
CIE-LABlab(49.97, 48.42, -67.21)
CIE-LCHlch(49.97, 82.84, 305.77°)
OKLaboklab(58.93% 0.0736 -0.192)
OKLCHoklch(58.93% 0.206 291)
XYZxyz(28.0243, 18.3973, 80.6556)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#825CEB #C5EB5C
analogous
#5C7EEB #825CEB #CA5CEB
triadic
#825CEB #EB825C #5CEB82
tetradic
#825CEB #EB5C7E #C5EB5C #5CEBCA
square
#825CEB #EB5C7E #C5EB5C #5CEBCA
split-complementary
#825CEB #EBCA5C #7EEB5C
monochromatic
#4116B6 #5825E4 #825CEB #AC93F2 #D6C9F8

Accessibility & contrast

On white

4.49
#825CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#825CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #825CEB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##825CEB#FFFFFF#000000##000000
##825CEB1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#637D9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #825ceb;
/* rgb */ color: rgb(130, 92, 235);
/* oklch */ color: oklch(58.9% 0.206 291.0);
Tailwind
colors: {
  custom: {
    50: '#ad8cf2',
    500: '#825ceb',
    950: '#000000',
  },
}
SCSS
$custom: #825ceb;
$custom-light: #ad8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#825ceb",
  "rgb": {
    "r": 130,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 255.944,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58931,
    "c": 0.20563,
    "h": 291
  },
  "luminance": 0.18398
}

Semantic roles & 50–950 ramp

primary
#825CEB
secondary
#DDEAB8
accent
#DA0BA3
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #825CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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