#8066CA#8066CA

#8066CA is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.2% C 0.149 H 293.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8066CA
RGBrgb(128, 102, 202)
HSLhsl(256, 49%, 60%)
HSVhsv(256, 50%, 79%)
CMYKcmyk(36.6%, 49.5%, 0%, 20.8%)
CIE-LABlab(49.92, 33.23, -48.58)
CIE-LCHlch(49.92, 58.86, 304.37°)
OKLaboklab(58.19% 0.0588 -0.1373)
OKLCHoklch(58.19% 0.149 293.2)
XYZxyz(24.3113, 18.3557, 58.1278)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8066CA #B0CA66
analogous
#667ECA #8066CA #B266CA
triadic
#8066CA #CA8066 #66CA80
tetradic
#8066CA #CA667E #B0CA66 #66CAB2
square
#8066CA #CA667E #B0CA66 #66CAB2
split-complementary
#8066CA #CAB266 #7ECA66
monochromatic
#462F87 #5D3EB4 #8066CA #A693DA #CBC1E9

Accessibility & contrast

On white

4.50
#8066CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#8066CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8066CA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8066CA#FFFFFF#000000##000000
##8066CA1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4078CE
Deuteranopia (green-blind)
#4575C8
Tritanopia (blue-blind)
#6E7A8E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8066ca;
/* rgb */ color: rgb(128, 102, 202);
/* oklch */ color: oklch(58.2% 0.149 293.2);
Tailwind
colors: {
  custom: {
    50: '#a892db',
    500: '#8066ca',
    950: '#000000',
  },
}
SCSS
$custom: #8066ca;
$custom-light: #a892db;
$custom-dark: #000000;
JSON
{
  "hex": "#8066ca",
  "rgb": {
    "r": 128,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 255.6,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58186,
    "c": 0.14937,
    "h": 293.2
  },
  "luminance": 0.18356
}

Semantic roles & 50–950 ramp

primary
#8066CA
secondary
#CFD9B2
accent
#D850B5
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8066CA

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

Preview Lab → · Contrast checker → · Palette generator →

#8066CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva