#A770CB#A770CB

#A770CB is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.8% C 0.143 H 310.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A770CB
RGBrgb(167, 112, 203)
HSLhsl(276, 47%, 62%)
HSVhsv(276, 45%, 80%)
CMYKcmyk(17.7%, 44.8%, 0%, 20.4%)
CIE-LABlab(56.20, 38.44, -38.96)
CIE-LCHlch(56.20, 54.73, 314.62°)
OKLaboklab(63.82% 0.0934 -0.1083)
OKLCHoklch(63.82% 0.143 310.8)
XYZxyz(32.5081, 24.1162, 59.4307)
Luminance0.2412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A770CB #94CB70
analogous
#7A70CB #A770CB #CB70C2
triadic
#A770CB #CBA770 #70CBA7
tetradic
#A770CB #CB7A70 #94CB70 #70C2CB
square
#A770CB #CB7A70 #94CB70 #70C2CB
split-complementary
#A770CB #C2CB70 #70CB7A
monochromatic
#6A338D #8B44BA #A770CB #C39DDB #DECAEC

Accessibility & contrast

On white

3.61
#A770CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#A770CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A770CB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A770CB#FFFFFF#000000##000000
##A770CB1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CE
Deuteranopia (green-blind)
#6A88C9
Tritanopia (blue-blind)
#A37E94
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a770cb;
/* rgb */ color: rgb(167, 112, 203);
/* oklch */ color: oklch(63.8% 0.143 310.8);
Tailwind
colors: {
  custom: {
    50: '#c39adb',
    500: '#a770cb',
    950: '#000000',
  },
}
SCSS
$custom: #a770cb;
$custom-light: #c39adb;
$custom-dark: #000000;
JSON
{
  "hex": "#a770cb",
  "rgb": {
    "r": 167,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 276.264,
    "s": 46.667,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63816,
    "c": 0.14303,
    "h": 310.8
  },
  "luminance": 0.24116
}

Semantic roles & 50–950 ramp

primary
#A770CB
secondary
#C8DCBB
accent
#BA2C64
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A770CB

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

Preview Lab → · Contrast checker → · Palette generator →

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