#826CEA#826CEA

#826CEA is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.4% C 0.183 H 287.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#826CEA
RGBrgb(130, 108, 234)
HSLhsl(250, 75%, 67%)
HSVhsv(250, 54%, 92%)
CMYKcmyk(44.4%, 53.8%, 0%, 8.2%)
CIE-LABlab(53.40, 39.09, -61.13)
CIE-LCHlch(53.40, 72.56, 302.60°)
OKLaboklab(61.43% 0.0559 -0.1741)
OKLCHoklch(61.43% 0.183 287.8)
XYZxyz(29.4155, 21.4103, 80.4087)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#826CEA #D4EA6C
analogous
#6C95EA #826CEA #C16CEA
triadic
#826CEA #EA826C #6CEA82
tetradic
#826CEA #EA6C95 #D4EA6C #6CEAC1
square
#826CEA #EA6C95 #D4EA6C #6CEAC1
split-complementary
#826CEA #EAC16C #95EA6C
monochromatic
#381BC0 #5436E2 #826CEA #B0A2F2 #DDD7F9

Accessibility & contrast

On white

3.98
#826CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#826CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #826CEA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##826CEA#FFFFFF#000000##000000
##826CEA1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A83EE
Deuteranopia (green-blind)
#2A7CE7
Tritanopia (blue-blind)
#6287A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #826cea;
/* rgb */ color: rgb(130, 108, 234);
/* oklch */ color: oklch(61.4% 0.183 287.8);
Tailwind
colors: {
  custom: {
    50: '#ac96f1',
    500: '#826cea',
    950: '#000000',
  },
}
SCSS
$custom: #826cea;
$custom-light: #ac96f1;
$custom-dark: #000000;
JSON
{
  "hex": "#826cea",
  "rgb": {
    "r": 130,
    "g": 108,
    "b": 234
  },
  "hsl": {
    "h": 250.476,
    "s": 75,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61428,
    "c": 0.18283,
    "h": 287.8
  },
  "luminance": 0.21411
}

Semantic roles & 50–950 ramp

primary
#826CEA
secondary
#E6EDC5
accent
#D70EB4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #826CEA

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

Preview Lab → · Contrast checker → · Palette generator →

#826CEA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva