#8266CB#8266CB

#8266CB is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.4% C 0.151 H 294.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8266CB
RGBrgb(130, 102, 203)
HSLhsl(257, 49%, 60%)
HSVhsv(257, 50%, 80%)
CMYKcmyk(36%, 49.8%, 0%, 20.4%)
CIE-LABlab(50.17, 34.01, -48.75)
CIE-LCHlch(50.17, 59.45, 304.90°)
OKLaboklab(58.43% 0.0614 -0.1378)
OKLCHoklch(58.43% 0.151 294)
XYZxyz(24.7340, 18.5599, 58.7676)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8266CB #AFCB66
analogous
#667CCB #8266CB #B566CB
triadic
#8266CB #CB8266 #66CB82
tetradic
#8266CB #CB667C #AFCB66 #66CBB5
square
#8266CB #CB667C #AFCB66 #66CBB5
split-complementary
#8266CB #CBB566 #7CCB66
monochromatic
#472E88 #5F3EB6 #8266CB #A794DB #CDC1EA

Accessibility & contrast

On white

4.46
#8266CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8266CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8266CB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8266CB#FFFFFF#000000##000000
##8266CB1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4078CF
Deuteranopia (green-blind)
#4576C9
Tritanopia (blue-blind)
#707A8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8266cb;
/* rgb */ color: rgb(130, 102, 203);
/* oklch */ color: oklch(58.4% 0.151 294.0);
Tailwind
colors: {
  custom: {
    50: '#aa92db',
    500: '#8266cb',
    950: '#000000',
  },
}
SCSS
$custom: #8266cb;
$custom-light: #aa92db;
$custom-dark: #000000;
JSON
{
  "hex": "#8266cb",
  "rgb": {
    "r": 130,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 256.634,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58431,
    "c": 0.15082,
    "h": 294
  },
  "luminance": 0.1856
}

Semantic roles & 50–950 ramp

primary
#8266CB
secondary
#CFDAB3
accent
#D94FB3
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8266CB

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

Preview Lab → · Contrast checker → · Palette generator →

#8266CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva