#AF6ADE#AF6ADE

#AF6ADE is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.8% C 0.178 H 309.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AF6ADE
RGBrgb(175, 106, 222)
HSLhsl(276, 64%, 64%)
HSVhsv(276, 52%, 87%)
CMYKcmyk(21.2%, 52.3%, 0%, 12.9%)
CIE-LABlab(56.78, 48.11, -48.73)
CIE-LCHlch(56.78, 68.48, 314.63°)
OKLaboklab(64.75% 0.1137 -0.1365)
OKLCHoklch(64.75% 0.178 309.8)
XYZxyz(36.0156, 24.6966, 71.9627)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6ADE #99DE6A
analogous
#756ADE #AF6ADE #DE6AD3
triadic
#AF6ADE #DEAF6A #6ADEAF
tetradic
#AF6ADE #DE756A #99DE6A #6AD3DE
square
#AF6ADE #DE756A #99DE6A #6AD3DE
split-complementary
#AF6ADE #D3DE6A #6ADE75
monochromatic
#7325A8 #9438D3 #AF6ADE #CA9CE9 #E5CEF4

Accessibility & contrast

On white

3.54
#AF6ADE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#AF6ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6ADE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6ADE#FFFFFF#000000##000000
##AF6ADE1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4985E2
Deuteranopia (green-blind)
#5F89DB
Tritanopia (blue-blind)
#A97E9A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af6ade;
/* rgb */ color: rgb(175, 106, 222);
/* oklch */ color: oklch(64.8% 0.178 309.8);
Tailwind
colors: {
  custom: {
    50: '#c997e9',
    500: '#af6ade',
    950: '#000000',
  },
}
SCSS
$custom: #af6ade;
$custom-light: #c997e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ade",
  "rgb": {
    "r": 175,
    "g": 106,
    "b": 222
  },
  "hsl": {
    "h": 275.69,
    "s": 63.736,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64753,
    "c": 0.17762,
    "h": 309.8
  },
  "luminance": 0.24696
}

Semantic roles & 50–950 ramp

primary
#AF6ADE
secondary
#CEE6BE
accent
#CC1A62
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF6ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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