#AF6BCD#AF6BCD

#AF6BCD is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.0% C 0.157 H 314.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AF6BCD
RGBrgb(175, 107, 205)
HSLhsl(282, 49%, 61%)
HSVhsv(282, 48%, 80%)
CMYKcmyk(14.6%, 47.8%, 0%, 19.6%)
CIE-LABlab(56.13, 43.89, -40.16)
CIE-LCHlch(56.13, 59.49, 317.54°)
OKLaboklab(63.99% 0.1105 -0.1116)
OKLCHoklch(63.99% 0.157 314.7)
XYZxyz(33.9546, 24.0380, 60.5969)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6BCD #89CD6B
analogous
#7E6BCD #AF6BCD #CD6BBA
triadic
#AF6BCD #CDAF6B #6BCDAF
tetradic
#AF6BCD #CD7E6B #89CD6B #6BBACD
square
#AF6BCD #CD7E6B #89CD6B #6BBACD
split-complementary
#AF6BCD #BACD6B #6BCD7E
monochromatic
#71308E #953FBB #AF6BCD #C899DC #E0C6EC

Accessibility & contrast

On white

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

On black

5.81
#AF6BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6BCD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6BCD#FFFFFF#000000##000000
##AF6BCD1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D0
Deuteranopia (green-blind)
#6A88CA
Tritanopia (blue-blind)
#AD7A92
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af6bcd;
/* rgb */ color: rgb(175, 107, 205);
/* oklch */ color: oklch(64.0% 0.157 314.7);
Tailwind
colors: {
  custom: {
    50: '#c997dc',
    500: '#af6bcd',
    950: '#000000',
  },
}
SCSS
$custom: #af6bcd;
$custom-light: #c997dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af6bcd",
  "rgb": {
    "r": 175,
    "g": 107,
    "b": 205
  },
  "hsl": {
    "h": 281.633,
    "s": 49.495,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6399,
    "c": 0.157,
    "h": 314.7
  },
  "luminance": 0.24037
}

Semantic roles & 50–950 ramp

primary
#AF6BCD
secondary
#C3DCB8
accent
#BD2956
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF6BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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