#A665F2#A665F2

#A665F2 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.3% C 0.205 H 302.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A665F2
RGBrgb(166, 101, 242)
HSLhsl(268, 84%, 67%)
HSVhsv(268, 58%, 95%)
CMYKcmyk(31.4%, 58.3%, 0%, 5.1%)
CIE-LABlab(55.91, 53.14, -61.37)
CIE-LCHlch(55.91, 81.18, 310.89°)
OKLaboklab(64.26% 0.1094 -0.1737)
OKLCHoklch(64.26% 0.205 302.2)
XYZxyz(36.4029, 23.8251, 86.6681)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A665F2 #B1F265
analogous
#656AF2 #A665F2 #ED65F2
triadic
#A665F2 #F2A665 #65F2A6
tetradic
#A665F2 #F2656A #B1F265 #65F2ED
square
#A665F2 #F2656A #B1F265 #65F2ED
split-complementary
#A665F2 #F2ED65 #6AF265
monochromatic
#6711CB #852DED #A665F2 #C79DF7 #E7D6FC

Accessibility & contrast

On white

3.64
#A665F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#A665F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A665F2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A665F2#FFFFFF#000000##000000
##A665F21.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E85F7
Deuteranopia (green-blind)
#3F85EF
Tritanopia (blue-blind)
#9782A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a665f2;
/* rgb */ color: rgb(166, 101, 242);
/* oklch */ color: oklch(64.3% 0.205 302.2);
Tailwind
colors: {
  custom: {
    50: '#c593f7',
    500: '#a665f2',
    950: '#000000',
  },
}
SCSS
$custom: #a665f2;
$custom-light: #c593f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a665f2",
  "rgb": {
    "r": 166,
    "g": 101,
    "b": 242
  },
  "hsl": {
    "h": 267.66,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64257,
    "c": 0.2053,
    "h": 302.2
  },
  "luminance": 0.23825
}

Semantic roles & 50–950 ramp

primary
#A665F2
secondary
#DBF0C3
accent
#E1057B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A665F2

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

Preview Lab → · Contrast checker → · Palette generator →

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