#A665DB#A665DB

#A665DB is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.9% C 0.179 H 307.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#A665DB
RGBrgb(166, 101, 219)
HSLhsl(273, 62%, 63%)
HSVhsv(273, 54%, 86%)
CMYKcmyk(24.2%, 53.9%, 0%, 14.1%)
CIE-LABlab(54.58, 47.76, -50.59)
CIE-LCHlch(54.58, 69.57, 313.35°)
OKLaboklab(62.86% 0.1089 -0.1421)
OKLCHoklch(62.86% 0.179 307.5)
XYZxyz(33.1632, 22.5292, 69.6056)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A665DB #9ADB65
analogous
#6B65DB #A665DB #DB65D5
triadic
#A665DB #DBA665 #65DBA6
tetradic
#A665DB #DB6B65 #9ADB65 #65D5DB
square
#A665DB #DB6B65 #9ADB65 #65D5DB
split-complementary
#A665DB #D5DB65 #65DB6B
monochromatic
#6925A0 #8933CF #A665DB #C397E7 #DFC8F2

Accessibility & contrast

On white

3.81
#A665DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#A665DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A665DB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A665DB#FFFFFF#000000##000000
##A665DB1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F80DF
Deuteranopia (green-blind)
#5583D8
Tritanopia (blue-blind)
#9E7A96
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a665db;
/* rgb */ color: rgb(166, 101, 219);
/* oklch */ color: oklch(62.9% 0.179 307.5);
Tailwind
colors: {
  custom: {
    50: '#c393e7',
    500: '#a665db',
    950: '#000000',
  },
}
SCSS
$custom: #a665db;
$custom-light: #c393e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a665db",
  "rgb": {
    "r": 166,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 273.051,
    "s": 62.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62855,
    "c": 0.17909,
    "h": 307.5
  },
  "luminance": 0.22529
}

Semantic roles & 50–950 ramp

primary
#A665DB
secondary
#CCE3B9
accent
#CA1C6A
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A665DB

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

Preview Lab → · Contrast checker → · Palette generator →

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