#A65FB2#A65FB2

#A65FB2 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 59.7% C 0.144 H 321.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A65FB2
RGBrgb(166, 95, 178)
HSLhsl(291, 35%, 54%)
HSVhsv(291, 47%, 70%)
CMYKcmyk(6.7%, 46.6%, 0%, 30.2%)
CIE-LABlab(51.28, 42.13, -32.33)
CIE-LCHlch(51.28, 53.11, 322.50°)
OKLaboklab(59.73% 0.1127 -0.0891)
OKLCHoklch(59.73% 0.144 321.7)
XYZxyz(27.8531, 19.5069, 44.4089)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A65FB2 #6BB25F
analogous
#7C5FB2 #A65FB2 #B25F94
triadic
#A65FB2 #B2A65F #5FB2A6
tetradic
#A65FB2 #B27C5F #6BB25F #5F94B2
square
#A65FB2 #B27C5F #6BB25F #5F94B2
split-complementary
#A65FB2 #94B25F #5FB27C
monochromatic
#5E3166 #84458F #A65FB2 #BD88C6 #D4B2DA

Accessibility & contrast

On white

4.28
#A65FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#A65FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A65FB2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A65FB2#FFFFFF#000000##000000
##A65FB21.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#687DB0
Tritanopia (blue-blind)
#A86980
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a65fb2;
/* rgb */ color: rgb(166, 95, 178);
/* oklch */ color: oklch(59.7% 0.144 321.7);
Tailwind
colors: {
  custom: {
    50: '#c28ec9',
    500: '#a65fb2',
    950: '#000000',
  },
}
SCSS
$custom: #a65fb2;
$custom-light: #c28ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#a65fb2",
  "rgb": {
    "r": 166,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 291.325,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59729,
    "c": 0.14365,
    "h": 321.7
  },
  "luminance": 0.19506
}

Semantic roles & 50–950 ramp

primary
#A65FB2
secondary
#AAC8A5
accent
#CB5D6D
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #A65FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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