#A770C8#A770C8

#A770C8 is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.7% C 0.139 H 311.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A770C8
RGBrgb(167, 112, 200)
HSLhsl(278, 44%, 61%)
HSVhsv(278, 44%, 78%)
CMYKcmyk(16.5%, 44%, 0%, 21.6%)
CIE-LABlab(56.06, 37.78, -37.48)
CIE-LCHlch(56.06, 53.21, 315.23°)
OKLaboklab(63.66% 0.0929 -0.104)
OKLCHoklch(63.66% 0.139 311.8)
XYZxyz(32.1540, 23.9746, 57.5661)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A770C8 #91C870
analogous
#7B70C8 #A770C8 #C870BD
triadic
#A770C8 #C8A770 #70C8A7
tetradic
#A770C8 #C87B70 #91C870 #70BDC8
square
#A770C8 #C87B70 #91C870 #70BDC8
split-complementary
#A770C8 #BDC870 #70C87B
monochromatic
#693589 #8B46B5 #A770C8 #C29CD9 #DDC8EA

Accessibility & contrast

On white

3.62
#A770C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#A770C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A770C8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A770C8#FFFFFF#000000##000000
##A770C81.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E84CB
Deuteranopia (green-blind)
#6C88C6
Tritanopia (blue-blind)
#A47D92
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a770c8;
/* rgb */ color: rgb(167, 112, 200);
/* oklch */ color: oklch(63.7% 0.139 311.8);
Tailwind
colors: {
  custom: {
    50: '#c39ad9',
    500: '#a770c8',
    950: '#000000',
  },
}
SCSS
$custom: #a770c8;
$custom-light: #c39ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#a770c8",
  "rgb": {
    "r": 167,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 277.5,
    "s": 44.444,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63664,
    "c": 0.13947,
    "h": 311.8
  },
  "luminance": 0.23974
}

Semantic roles & 50–950 ramp

primary
#A770C8
secondary
#C6DAB9
accent
#B82E62
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #A770C8

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

Preview Lab → · Contrast checker → · Palette generator →

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