#A648FF#A648FF

#A648FF is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.6% C 0.255 H 302.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A648FF
RGBrgb(166, 72, 255)
HSLhsl(271, 100%, 64%)
HSVhsv(271, 72%, 100%)
CMYKcmyk(34.9%, 71.8%, 0%, 0%)
CIE-LABlab(51.79, 69.85, -75.25)
CIE-LCHlch(51.79, 102.67, 312.87°)
OKLaboklab(61.57% 0.1386 -0.2144)
OKLCHoklch(61.57% 0.255 302.9)
XYZxyz(36.0890, 19.9617, 96.5401)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A648FF #A1FF48
analogous
#4B48FF #A648FF #FF48FC
triadic
#A648FF #FFA648 #48FFA6
tetradic
#A648FF #FF4B48 #A1FF48 #48FCFF
square
#A648FF #FF4B48 #A1FF48 #48FCFF
split-complementary
#A648FF #FCFF48 #48FF4B
monochromatic
#6900CD #880BFF #A648FF #C485FF #E2C2FF

Accessibility & contrast

On white

4.21
#A648FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#A648FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A648FF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A648FF#FFFFFF#000000##000000
##A648FF1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#007BFB
Tritanopia (blue-blind)
#9475A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a648ff;
/* rgb */ color: rgb(166, 72, 255);
/* oklch */ color: oklch(61.6% 0.255 302.9);
Tailwind
colors: {
  custom: {
    50: '#c783ff',
    500: '#a648ff',
    950: '#000000',
  },
}
SCSS
$custom: #a648ff;
$custom-light: #c783ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a648ff",
  "rgb": {
    "r": 166,
    "g": 72,
    "b": 255
  },
  "hsl": {
    "h": 270.82,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61568,
    "c": 0.25533,
    "h": 302.9
  },
  "luminance": 0.19962
}

Semantic roles & 50–950 ramp

primary
#A648FF
secondary
#D1F1B1
accent
#E60070
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140B18
muted
#827C86

Preview Lab

Preview with #A648FF

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

Preview Lab → · Contrast checker → · Palette generator →

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