#825FCB#825FCB

#825FCB is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.2% C 0.161 H 295.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#825FCB
RGBrgb(130, 95, 203)
HSLhsl(259, 51%, 58%)
HSVhsv(259, 53%, 80%)
CMYKcmyk(36%, 53.2%, 0%, 20.4%)
CIE-LABlab(48.56, 38.07, -51.32)
CIE-LCHlch(48.56, 63.90, 306.57°)
OKLaboklab(57.24% 0.0704 -0.1453)
OKLCHoklch(57.24% 0.161 295.8)
XYZxyz(24.0749, 17.2416, 58.5479)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#825FCB #A8CB5F
analogous
#5F72CB #825FCB #B85FCB
triadic
#825FCB #CB825F #5FCB82
tetradic
#825FCB #CB5F72 #A8CB5F #5FCBB8
square
#825FCB #CB5F72 #A8CB5F #5FCBB8
split-complementary
#825FCB #CBB85F #72CB5F
monochromatic
#482B85 #613AB3 #825FCB #A68DDA #CABBE9

Accessibility & contrast

On white

4.72
#825FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#825FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #825FCB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##825FCB#FFFFFF#000000##FFFFFF
##825FCB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3274CF
Deuteranopia (green-blind)
#3B72C9
Tritanopia (blue-blind)
#71758C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #825fcb;
/* rgb */ color: rgb(130, 95, 203);
/* oklch */ color: oklch(57.2% 0.161 295.8);
Tailwind
colors: {
  custom: {
    50: '#aa8ddb',
    500: '#825fcb',
    950: '#000000',
  },
}
SCSS
$custom: #825fcb;
$custom-light: #aa8ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#825fcb",
  "rgb": {
    "r": 130,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 259.444,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57237,
    "c": 0.16143,
    "h": 295.8
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

primary
#825FCB
secondary
#CAD8AD
accent
#DA4DAD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #825FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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