#A665CB#A665CB

#A665CB is a mid, vivid violet. Relative luminance 0.217; OKLCH L 62.0% C 0.161 H 312.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#A665CB
RGBrgb(166, 101, 203)
HSLhsl(278, 50%, 60%)
HSVhsv(278, 50%, 80%)
CMYKcmyk(18.2%, 50.2%, 0%, 20.4%)
CIE-LABlab(53.74, 44.17, -42.86)
CIE-LCHlch(53.74, 61.54, 315.86°)
OKLaboklab(61.95% 0.1076 -0.1196)
OKLCHoklch(61.95% 0.161 312)
XYZxyz(31.1572, 21.7268, 59.0407)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A665CB #8ACB65
analogous
#7365CB #A665CB #CB65BD
triadic
#A665CB #CBA665 #65CBA6
tetradic
#A665CB #CB7365 #8ACB65 #65BDCB
square
#A665CB #CB7365 #8ACB65 #65BDCB
split-complementary
#A665CB #BDCB65 #65CB73
monochromatic
#672E88 #8A3DB6 #A665CB #C093DA #DBC1EA

Accessibility & contrast

On white

3.93
#A665CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#A665CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A665CB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A665CB#FFFFFF#000000##000000
##A665CB1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCE
Deuteranopia (green-blind)
#6082C8
Tritanopia (blue-blind)
#A2758F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a665cb;
/* rgb */ color: rgb(166, 101, 203);
/* oklch */ color: oklch(62.0% 0.161 312.0);
Tailwind
colors: {
  custom: {
    50: '#c293db',
    500: '#a665cb',
    950: '#000000',
  },
}
SCSS
$custom: #a665cb;
$custom-light: #c293db;
$custom-dark: #000000;
JSON
{
  "hex": "#a665cb",
  "rgb": {
    "r": 166,
    "g": 101,
    "b": 203
  },
  "hsl": {
    "h": 278.235,
    "s": 49.515,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61953,
    "c": 0.16088,
    "h": 312
  },
  "luminance": 0.21726
}

Semantic roles & 50–950 ramp

primary
#A665CB
secondary
#C0DAB2
accent
#D94F81
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A665CB

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

Preview Lab → · Contrast checker → · Palette generator →

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