#AF78CA#AF78CA

#AF78CA is a light, vivid purple. Relative luminance 0.268; OKLCH L 65.9% C 0.132 H 314.0°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AF78CA
RGBrgb(175, 120, 202)
HSLhsl(280, 44%, 63%)
HSVhsv(280, 41%, 79%)
CMYKcmyk(13.4%, 40.6%, 0%, 20.8%)
CIE-LABlab(58.80, 36.16, -34.27)
CIE-LCHlch(58.80, 49.81, 316.54°)
OKLaboklab(65.94% 0.0913 -0.0947)
OKLCHoklch(65.94% 0.132 314)
XYZxyz(35.0546, 26.8119, 59.1942)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF78CA #93CA78
analogous
#8678CA #AF78CA #CA78BC
triadic
#AF78CA #CAAF78 #78CAAF
tetradic
#AF78CA #CA8678 #93CA78 #78BCCA
square
#AF78CA #CA8678 #93CA78 #78BCCA
split-complementary
#AF78CA #BCCA78 #78CA86
monochromatic
#73388F #954CB9 #AF78CA #C9A4DB #E3D0ED

Accessibility & contrast

On white

3.30
#AF78CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#AF78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF78CA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF78CA#FFFFFF#000000##000000
##AF78CA1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACD
Deuteranopia (green-blind)
#778FC8
Tritanopia (blue-blind)
#AD8397
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af78ca;
/* rgb */ color: rgb(175, 120, 202);
/* oklch */ color: oklch(65.9% 0.132 314.0);
Tailwind
colors: {
  custom: {
    50: '#c8a0da',
    500: '#af78ca',
    950: '#000000',
  },
}
SCSS
$custom: #af78ca;
$custom-light: #c8a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#af78ca",
  "rgb": {
    "r": 175,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 280.244,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65945,
    "c": 0.13151,
    "h": 314
  },
  "luminance": 0.26811
}

Semantic roles & 50–950 ramp

primary
#AF78CA
secondary
#CADEC0
accent
#B72F5C
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #AF78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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