#A65FD2#A65FD2

#A65FD2 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.4% C 0.178 H 310.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A65FD2
RGBrgb(166, 95, 210)
HSLhsl(277, 56%, 60%)
HSVhsv(277, 55%, 82%)
CMYKcmyk(21%, 54.8%, 0%, 17.6%)
CIE-LABlab(52.89, 48.89, -48.19)
CIE-LCHlch(52.89, 68.65, 315.41°)
OKLaboklab(61.45% 0.1163 -0.1351)
OKLCHoklch(61.45% 0.178 310.7)
XYZxyz(31.4488, 20.9452, 63.3464)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A65FD2 #8BD25F
analogous
#6C5FD2 #A65FD2 #D25FC5
triadic
#A65FD2 #D2A65F #5FD2A6
tetradic
#A65FD2 #D26C5F #8BD25F #5FC5D2
square
#A65FD2 #D26C5F #8BD25F #5FC5D2
split-complementary
#A65FD2 #C5D25F #5FD26C
monochromatic
#67288F #8A36BE #A65FD2 #C18FDF #DBBFED

Accessibility & contrast

On white

4.05
#A65FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#A65FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A65FD2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A65FD2#FFFFFF#000000##000000
##A65FD21.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7BD6
Deuteranopia (green-blind)
#5580CF
Tritanopia (blue-blind)
#A1738F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a65fd2;
/* rgb */ color: rgb(166, 95, 210);
/* oklch */ color: oklch(61.4% 0.178 310.7);
Tailwind
colors: {
  custom: {
    50: '#c38fe0',
    500: '#a65fd2',
    950: '#000000',
  },
}
SCSS
$custom: #a65fd2;
$custom-light: #c38fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#a65fd2",
  "rgb": {
    "r": 166,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 277.043,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61448,
    "c": 0.17824,
    "h": 310.7
  },
  "luminance": 0.20945
}

Semantic roles & 50–950 ramp

primary
#A65FD2
secondary
#C1DDB0
accent
#DF4882
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130D15
muted
#827D83

Preview Lab

Preview with #A65FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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