#8A66F2#8A66F2

#8A66F2 is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 61.7% C 0.201 H 291.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8A66F2
RGBrgb(138, 102, 242)
HSLhsl(255, 84%, 67%)
HSVhsv(255, 58%, 95%)
CMYKcmyk(43%, 57.9%, 0%, 5.1%)
CIE-LABlab(53.29, 46.44, -65.73)
CIE-LCHlch(53.29, 80.48, 305.24°)
OKLaboklab(61.69% 0.0727 -0.1874)
OKLCHoklch(61.69% 0.201 291.2)
XYZxyz(31.2552, 21.3158, 86.4548)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66F2 #CEF266
analogous
#6688F2 #8A66F2 #D066F2
triadic
#8A66F2 #F28A66 #66F28A
tetradic
#8A66F2 #F26688 #CEF266 #66F2D0
square
#8A66F2 #F26688 #CEF266 #66F2D0
split-complementary
#8A66F2 #F2D066 #88F266
monochromatic
#4111CC #5F2EED #8A66F2 #B59EF7 #E0D7FC

Accessibility & contrast

On white

3.99
#8A66F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8A66F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66F2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66F2#FFFFFF#000000##000000
##8A66F21.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#107CEF
Tritanopia (blue-blind)
#6C85A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a66f2;
/* rgb */ color: rgb(138, 102, 242);
/* oklch */ color: oklch(61.7% 0.201 291.2);
Tailwind
colors: {
  custom: {
    50: '#b293f7',
    500: '#8a66f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a66f2;
$custom-light: #b293f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66f2",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 255.429,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61686,
    "c": 0.20099,
    "h": 291.2
  },
  "luminance": 0.21317
}

Semantic roles & 50–950 ramp

primary
#8A66F2
secondary
#E5F0C4
accent
#E105A8
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A66F2

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

Preview Lab → · Contrast checker → · Palette generator →

#8A66F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva