#826AF2#826AF2

#826AF2 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.6% C 0.196 H 287.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#826AF2
RGBrgb(130, 106, 242)
HSLhsl(251, 84%, 68%)
HSVhsv(251, 56%, 95%)
CMYKcmyk(46.3%, 56.2%, 0%, 5.1%)
CIE-LABlab(53.45, 42.51, -65.51)
CIE-LCHlch(53.45, 78.09, 302.98°)
OKLaboklab(61.63% 0.0583 -0.1869)
OKLCHoklch(61.63% 0.196 287.3)
XYZxyz(30.3823, 21.4634, 86.5292)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#826AF2 #DAF26A
analogous
#6A96F2 #826AF2 #C66AF2
triadic
#826AF2 #F2826A #6AF282
tetradic
#826AF2 #F26A96 #DAF26A #6AF2C6
square
#826AF2 #F26A96 #DAF26A #6AF2C6
split-complementary
#826AF2 #F2C66A #96F26A
monochromatic
#3412CF #5332ED #826AF2 #B1A2F7 #E0DBFC

Accessibility & contrast

On white

3.97
#826AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#826AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #826AF2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##826AF2#FFFFFF#000000##000000
##826AF21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C83F7
Deuteranopia (green-blind)
#0C7CEF
Tritanopia (blue-blind)
#5D88A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #826af2;
/* rgb */ color: rgb(130, 106, 242);
/* oklch */ color: oklch(61.6% 0.196 287.3);
Tailwind
colors: {
  custom: {
    50: '#ad95f7',
    500: '#826af2',
    950: '#000000',
  },
}
SCSS
$custom: #826af2;
$custom-light: #ad95f7;
$custom-dark: #000000;
JSON
{
  "hex": "#826af2",
  "rgb": {
    "r": 130,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 250.588,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61632,
    "c": 0.19582,
    "h": 287.3
  },
  "luminance": 0.21465
}

Semantic roles & 50–950 ramp

primary
#826AF2
secondary
#E9F1C7
accent
#E005BA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #826AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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