#8268EB#8268EB

#8268EB is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.8% C 0.190 H 288.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8268EB
RGBrgb(130, 104, 235)
HSLhsl(252, 77%, 66%)
HSVhsv(252, 56%, 92%)
CMYKcmyk(44.7%, 55.7%, 0%, 7.8%)
CIE-LABlab(52.56, 41.67, -63.04)
CIE-LCHlch(52.56, 75.57, 303.47°)
OKLaboklab(60.83% 0.0605 -0.1797)
OKLCHoklch(60.83% 0.19 288.6)
XYZxyz(29.1474, 20.6435, 81.0300)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8268EB #D1EB68
analogous
#6890EB #8268EB #C368EB
triadic
#8268EB #EB8268 #68EB82
tetradic
#8268EB #EB6890 #D1EB68 #68EBC3
square
#8268EB #EB6890 #D1EB68 #68EBC3
split-complementary
#8268EB #EBC368 #90EB68
monochromatic
#3A19BF #5532E4 #8268EB #AF9EF2 #DBD4F9

Accessibility & contrast

On white

4.09
#8268EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8268EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8268EB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8268EB#FFFFFF#000000##000000
##8268EB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1980EF
Deuteranopia (green-blind)
#1C7AE8
Tritanopia (blue-blind)
#6285A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8268eb;
/* rgb */ color: rgb(130, 104, 235);
/* oklch */ color: oklch(60.8% 0.190 288.6);
Tailwind
colors: {
  custom: {
    50: '#ad94f2',
    500: '#8268eb',
    950: '#000000',
  },
}
SCSS
$custom: #8268eb;
$custom-light: #ad94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8268eb",
  "rgb": {
    "r": 130,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 251.908,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60827,
    "c": 0.18961,
    "h": 288.6
  },
  "luminance": 0.20645
}

Semantic roles & 50–950 ramp

primary
#8268EB
secondary
#E4EDC2
accent
#D90DB0
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8268EB

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

Preview Lab → · Contrast checker → · Palette generator →

#8268EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva