#A670D5#A670D5

#A670D5 is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.2% C 0.155 H 307.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A670D5
RGBrgb(166, 112, 213)
HSLhsl(272, 55%, 64%)
HSVhsv(272, 47%, 84%)
CMYKcmyk(22.1%, 47.4%, 0%, 16.5%)
CIE-LABlab(56.58, 40.42, -44.03)
CIE-LCHlch(56.58, 59.77, 312.55°)
OKLaboklab(64.24% 0.0936 -0.123)
OKLCHoklch(64.24% 0.155 307.3)
XYZxyz(33.5279, 24.4998, 65.9005)
Luminance0.2450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A670D5 #9FD570
analogous
#7370D5 #A670D5 #D570D2
triadic
#A670D5 #D5A670 #70D5A6
tetradic
#A670D5 #D57370 #9FD570 #70D2D5
square
#A670D5 #D57370 #9FD570 #70D2D5
split-complementary
#A670D5 #D2D570 #70D573
monochromatic
#692E9D #8941C7 #A670D5 #C39FE3 #E1CFF1

Accessibility & contrast

On white

3.56
#A670D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#A670D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A670D5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A670D5#FFFFFF#000000##000000
##A670D51.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5686D9
Deuteranopia (green-blind)
#6488D2
Tritanopia (blue-blind)
#9F8198
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a670d5;
/* rgb */ color: rgb(166, 112, 213);
/* oklch */ color: oklch(64.2% 0.155 307.3);
Tailwind
colors: {
  custom: {
    50: '#c29ae2',
    500: '#a670d5',
    950: '#000000',
  },
}
SCSS
$custom: #a670d5;
$custom-light: #c29ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#a670d5",
  "rgb": {
    "r": 166,
    "g": 112,
    "b": 213
  },
  "hsl": {
    "h": 272.079,
    "s": 54.595,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64236,
    "c": 0.15461,
    "h": 307.3
  },
  "luminance": 0.24499
}

Semantic roles & 50–950 ramp

primary
#A670D5
secondary
#CFE2BF
accent
#C2236D
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A670D5

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

Preview Lab → · Contrast checker → · Palette generator →

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