#8266CF#8266CF

#8266CF is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.7% C 0.156 H 293.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8266CF
RGBrgb(130, 102, 207)
HSLhsl(256, 52%, 61%)
HSVhsv(256, 51%, 81%)
CMYKcmyk(37.2%, 50.7%, 0%, 18.8%)
CIE-LABlab(50.40, 35.09, -50.68)
CIE-LCHlch(50.40, 61.64, 304.70°)
OKLaboklab(58.68% 0.0617 -0.1434)
OKLCHoklch(58.68% 0.156 293.3)
XYZxyz(25.2168, 18.7530, 61.3105)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8266CF #B3CF66
analogous
#667ECF #8266CF #B666CF
triadic
#8266CF #CF8266 #66CF82
tetradic
#8266CF #CF667E #B3CF66 #66CFB6
square
#8266CF #CF667E #B3CF66 #66CFB6
split-complementary
#8266CF #CFB666 #7ECF66
monochromatic
#472D8E #5E3BBD #8266CF #A895DE #CEC3EC

Accessibility & contrast

On white

4.42
#8266CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8266CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8266CF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8266CF#FFFFFF#000000##000000
##8266CF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D79D3
Deuteranopia (green-blind)
#4276CD
Tritanopia (blue-blind)
#6F7B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8266cf;
/* rgb */ color: rgb(130, 102, 207);
/* oklch */ color: oklch(58.7% 0.156 293.3);
Tailwind
colors: {
  custom: {
    50: '#aa92de',
    500: '#8266cf',
    950: '#000000',
  },
}
SCSS
$custom: #8266cf;
$custom-light: #aa92de;
$custom-dark: #000000;
JSON
{
  "hex": "#8266cf",
  "rgb": {
    "r": 130,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 256,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58676,
    "c": 0.15611,
    "h": 293.3
  },
  "luminance": 0.18754
}

Semantic roles & 50–950 ramp

primary
#8266CF
secondary
#D2DCB4
accent
#C02697
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8266CF

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

Preview Lab → · Contrast checker → · Palette generator →

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