#A65FEC#A65FEC

#A65FEC is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.0% C 0.207 H 304.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#A65FEC
RGBrgb(166, 95, 236)
HSLhsl(270, 79%, 65%)
HSVhsv(270, 60%, 93%)
CMYKcmyk(29.7%, 59.7%, 0%, 7.5%)
CIE-LABlab(54.39, 54.81, -60.45)
CIE-LCHlch(54.39, 81.60, 312.19°)
OKLaboklab(63.03% 0.1167 -0.171)
OKLCHoklch(63.03% 0.207 304.3)
XYZxyz(34.9551, 22.3477, 81.8126)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A65FEC #A5EC5F
analogous
#605FEC #A65FEC #EC5FEB
triadic
#A65FEC #ECA65F #5FECA6
tetradic
#A65FEC #EC605F #A5EC5F #5FEBEC
square
#A65FEC #EC605F #A5EC5F #5FEBEC
split-complementary
#A65FEC #EBEC5F #5FEC60
monochromatic
#6916BA #8828E6 #A65FEC #C496F2 #E3CCF9

Accessibility & contrast

On white

3.84
#A65FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#A65FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A65FEC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A65FEC#FFFFFF#000000##000000
##A65FEC1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1380F0
Deuteranopia (green-blind)
#3D82E9
Tritanopia (blue-blind)
#997C9D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a65fec;
/* rgb */ color: rgb(166, 95, 236);
/* oklch */ color: oklch(63.0% 0.207 304.3);
Tailwind
colors: {
  custom: {
    50: '#c490f3',
    500: '#a65fec',
    950: '#000000',
  },
}
SCSS
$custom: #a65fec;
$custom-light: #c490f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a65fec",
  "rgb": {
    "r": 166,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 270.213,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63033,
    "c": 0.20702,
    "h": 304.3
  },
  "luminance": 0.22348
}

Semantic roles & 50–950 ramp

primary
#A65FEC
secondary
#D3EBBB
accent
#DB0A72
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A65FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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