#AF68DB#AF68DB

#AF68DB is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.3% C 0.177 H 310.9°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AF68DB
RGBrgb(175, 104, 219)
HSLhsl(277, 61%, 63%)
HSVhsv(277, 53%, 86%)
CMYKcmyk(20.1%, 52.5%, 0%, 14.1%)
CIE-LABlab(56.22, 48.51, -47.93)
CIE-LCHlch(56.22, 68.19, 315.34°)
OKLaboklab(64.29% 0.1161 -0.1341)
OKLCHoklch(64.29% 0.177 310.9)
XYZxyz(35.4134, 24.1298, 69.7961)
Luminance0.2413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68DB #94DB68
analogous
#7568DB #AF68DB #DB68CE
triadic
#AF68DB #DBAF68 #68DBAF
tetradic
#AF68DB #DB7568 #94DB68 #68CEDB
square
#AF68DB #DB7568 #94DB68 #68CEDB
split-complementary
#AF68DB #CEDB68 #68DB75
monochromatic
#7327A2 #9537CF #AF68DB #C999E7 #E3CBF3

Accessibility & contrast

On white

3.60
#AF68DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#AF68DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68DB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68DB#FFFFFF#000000##000000
##AF68DB1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4983DF
Deuteranopia (green-blind)
#5F88D8
Tritanopia (blue-blind)
#AA7B98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af68db;
/* rgb */ color: rgb(175, 104, 219);
/* oklch */ color: oklch(64.3% 0.177 310.9);
Tailwind
colors: {
  custom: {
    50: '#c995e7',
    500: '#af68db',
    950: '#000000',
  },
}
SCSS
$custom: #af68db;
$custom-light: #c995e7;
$custom-dark: #000000;
JSON
{
  "hex": "#af68db",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 219
  },
  "hsl": {
    "h": 277.043,
    "s": 61.497,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64288,
    "c": 0.17739,
    "h": 310.9
  },
  "luminance": 0.24129
}

Semantic roles & 50–950 ramp

primary
#AF68DB
secondary
#CBE4BB
accent
#C91C5E
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF68DB

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

Preview Lab → · Contrast checker → · Palette generator →

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