#A665EC#A665EC

#A665EC is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.9% C 0.198 H 303.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A665EC
RGBrgb(166, 101, 236)
HSLhsl(269, 78%, 66%)
HSVhsv(269, 57%, 93%)
CMYKcmyk(29.7%, 57.2%, 0%, 7.5%)
CIE-LABlab(55.55, 51.72, -58.59)
CIE-LCHlch(55.55, 78.15, 311.43°)
OKLaboklab(63.88% 0.1094 -0.1656)
OKLCHoklch(63.88% 0.198 303.5)
XYZxyz(35.5165, 23.4705, 81.9998)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A665EC #ABEC65
analogous
#6567EC #A665EC #EA65EC
triadic
#A665EC #ECA665 #65ECA6
tetradic
#A665EC #EC6567 #ABEC65 #65ECEA
square
#A665EC #EC6567 #ABEC65 #65ECEA
split-complementary
#A665EC #ECEA65 #67EC65
monochromatic
#6818BF #872FE5 #A665EC #C59BF3 #E5D2F9

Accessibility & contrast

On white

3.69
#A665EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#A665EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A665EC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A665EC#FFFFFF#000000##000000
##A665EC1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A84F0
Deuteranopia (green-blind)
#4685E9
Tritanopia (blue-blind)
#99809F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a665ec;
/* rgb */ color: rgb(166, 101, 236);
/* oklch */ color: oklch(63.9% 0.198 303.5);
Tailwind
colors: {
  custom: {
    50: '#c493f3',
    500: '#a665ec',
    950: '#000000',
  },
}
SCSS
$custom: #a665ec;
$custom-light: #c493f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a665ec",
  "rgb": {
    "r": 166,
    "g": 101,
    "b": 236
  },
  "hsl": {
    "h": 268.889,
    "s": 78.035,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6388,
    "c": 0.19848,
    "h": 303.5
  },
  "luminance": 0.2347
}

Semantic roles & 50–950 ramp

primary
#A665EC
secondary
#D7EDC0
accent
#DA0B77
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A665EC

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

Preview Lab → · Contrast checker → · Palette generator →

#A665EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva