#8A66F5#8A66F5

#8A66F5 is a mid, highly saturated violet. Relative luminance 0.215; OKLCH L 61.9% C 0.205 H 290.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A66F5
RGBrgb(138, 102, 245)
HSLhsl(255, 88%, 68%)
HSVhsv(255, 58%, 96%)
CMYKcmyk(43.7%, 58.4%, 0%, 3.9%)
CIE-LABlab(53.49, 47.25, -67.08)
CIE-LCHlch(53.49, 82.06, 305.16°)
OKLaboklab(61.89% 0.0726 -0.1914)
OKLCHoklch(61.89% 0.205 290.8)
XYZxyz(31.7094, 21.4975, 88.8472)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66F5 #D1F566
analogous
#6689F5 #8A66F5 #D166F5
triadic
#8A66F5 #F58A66 #66F58A
tetradic
#8A66F5 #F56689 #D1F566 #66F5D1
square
#8A66F5 #F56689 #D1F566 #66F5D1
split-complementary
#8A66F5 #F5D166 #89F566
monochromatic
#3F0ED3 #5E2DF1 #8A66F5 #B69FF9 #E2D9FD

Accessibility & contrast

On white

3.96
#8A66F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#8A66F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66F5
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66F5#FFFFFF#000000##000000
##8A66F51.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#007DF2
Tritanopia (blue-blind)
#6B86A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a66f5;
/* rgb */ color: rgb(138, 102, 245);
/* oklch */ color: oklch(61.9% 0.205 290.8);
Tailwind
colors: {
  custom: {
    50: '#b393f9',
    500: '#8a66f5',
    950: '#000000',
  },
}
SCSS
$custom: #8a66f5;
$custom-light: #b393f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66f5",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 255.105,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61893,
    "c": 0.20468,
    "h": 290.8
  },
  "luminance": 0.21499
}

Semantic roles & 50–950 ramp

primary
#8A66F5
secondary
#E6F1C6
accent
#E401AB
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A66F5

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

Preview Lab → · Contrast checker → · Palette generator →

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