#A65FD7#A65FD7

#A65FD7 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.7% C 0.184 H 309.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A65FD7
RGBrgb(166, 95, 215)
HSLhsl(276, 60%, 61%)
HSVhsv(276, 56%, 84%)
CMYKcmyk(22.8%, 55.8%, 0%, 15.7%)
CIE-LABlab(53.17, 50.00, -50.59)
CIE-LCHlch(53.17, 71.13, 314.67°)
OKLaboklab(61.74% 0.1165 -0.1421)
OKLCHoklch(61.74% 0.184 309.3)
XYZxyz(32.0815, 21.1982, 66.6784)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A65FD7 #90D75F
analogous
#6A5FD7 #A65FD7 #D75FCC
triadic
#A65FD7 #D7A65F #5FD7A6
tetradic
#A65FD7 #D76A5F #90D75F #5FCCD7
square
#A65FD7 #D76A5F #90D75F #5FCCD7
split-complementary
#A65FD7 #CCD75F #5FD76A
monochromatic
#682696 #8A32C7 #A65FD7 #C190E3 #DCC1EF

Accessibility & contrast

On white

4.01
#A65FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#A65FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A65FD7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A65FD7#FFFFFF#000000##000000
##A65FD71.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#387CDB
Deuteranopia (green-blind)
#5280D4
Tritanopia (blue-blind)
#9F7592
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a65fd7;
/* rgb */ color: rgb(166, 95, 215);
/* oklch */ color: oklch(61.7% 0.184 309.3);
Tailwind
colors: {
  custom: {
    50: '#c38fe4',
    500: '#a65fd7',
    950: '#000000',
  },
}
SCSS
$custom: #a65fd7;
$custom-light: #c38fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#a65fd7",
  "rgb": {
    "r": 166,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 275.5,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6174,
    "c": 0.18376,
    "h": 309.3
  },
  "luminance": 0.21198
}

Semantic roles & 50–950 ramp

primary
#A65FD7
secondary
#C5E0B2
accent
#C81E63
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D15
muted
#827D84

Preview Lab

Preview with #A65FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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