#825EFB#825EFB

#825EFB is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.222 H 288.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#825EFB
RGBrgb(130, 94, 251)
HSLhsl(254, 95%, 68%)
HSVhsv(254, 63%, 98%)
CMYKcmyk(48.2%, 62.5%, 0%, 1.6%)
CIE-LABlab(51.51, 51.74, -73.66)
CIE-LCHlch(51.51, 90.01, 305.09°)
OKLaboklab(60.41% 0.0704 -0.2109)
OKLCHoklch(60.41% 0.222 288.5)
XYZxyz(30.6162, 19.7149, 93.4403)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#825EFB #D7FB5E
analogous
#5E88FB #825EFB #D15EFB
triadic
#825EFB #FB825E #5EFB82
tetradic
#825EFB #FB5E88 #D7FB5E #5EFBD1
square
#825EFB #FB5E88 #D7FB5E #5EFBD1
split-complementary
#825EFB #FBD15E #88FB5E
monochromatic
#3605D9 #5422FA #825EFB #B09AFC #DFD5FE

Accessibility & contrast

On white

4.25
#825EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#825EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #825EFB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##825EFB#FFFFFF#000000##000000
##825EFB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0077F8
Tritanopia (blue-blind)
#5984A4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #825efb;
/* rgb */ color: rgb(130, 94, 251);
/* oklch */ color: oklch(60.4% 0.222 288.5);
Tailwind
colors: {
  custom: {
    50: '#af8dfe',
    500: '#825efb',
    950: '#000000',
  },
}
SCSS
$custom: #825efb;
$custom-light: #af8dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#825efb",
  "rgb": {
    "r": 130,
    "g": 94,
    "b": 251
  },
  "hsl": {
    "h": 253.758,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60407,
    "c": 0.22238,
    "h": 288.5
  },
  "luminance": 0.19716
}

Semantic roles & 50–950 ramp

primary
#825EFB
secondary
#E8F3C2
accent
#E600B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #825EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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