#8266CD#8266CD

#8266CD is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.6% C 0.153 H 293.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8266CD
RGBrgb(130, 102, 205)
HSLhsl(256, 51%, 60%)
HSVhsv(256, 50%, 80%)
CMYKcmyk(36.6%, 50.2%, 0%, 19.6%)
CIE-LABlab(50.28, 34.55, -49.72)
CIE-LCHlch(50.28, 60.54, 304.80°)
OKLaboklab(58.55% 0.0615 -0.1406)
OKLCHoklch(58.55% 0.153 293.6)
XYZxyz(24.9739, 18.6558, 60.0309)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8266CD #B1CD66
analogous
#667DCD #8266CD #B666CD
triadic
#8266CD #CD8266 #66CD82
tetradic
#8266CD #CD667D #B1CD66 #66CDB6
square
#8266CD #CD667D #B1CD66 #66CDB6
split-complementary
#8266CD #CDB666 #7DCD66
monochromatic
#472D8B #5E3DB9 #8266CD #A894DC #CDC2EB

Accessibility & contrast

On white

4.44
#8266CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8266CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8266CD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8266CD#FFFFFF#000000##000000
##8266CD1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D1
Deuteranopia (green-blind)
#4476CB
Tritanopia (blue-blind)
#707A90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8266cd;
/* rgb */ color: rgb(130, 102, 205);
/* oklch */ color: oklch(58.6% 0.153 293.6);
Tailwind
colors: {
  custom: {
    50: '#aa92dd',
    500: '#8266cd',
    950: '#000000',
  },
}
SCSS
$custom: #8266cd;
$custom-light: #aa92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8266cd",
  "rgb": {
    "r": 130,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 256.311,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58553,
    "c": 0.15346,
    "h": 293.6
  },
  "luminance": 0.18656
}

Semantic roles & 50–950 ramp

primary
#8266CD
secondary
#D0DBB4
accent
#BE2795
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8266CD

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

Preview Lab → · Contrast checker → · Palette generator →

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