#AF7BDA#AF7BDA

#AF7BDA is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.2% C 0.145 H 308.2°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AF7BDA
RGBrgb(175, 123, 218)
HSLhsl(273, 56%, 67%)
HSVhsv(273, 44%, 85%)
CMYKcmyk(19.7%, 43.6%, 0%, 14.5%)
CIE-LABlab(60.20, 38.01, -41.09)
CIE-LCHlch(60.20, 55.97, 312.77°)
OKLaboklab(67.23% 0.0899 -0.1143)
OKLCHoklch(67.23% 0.145 308.2)
XYZxyz(37.4146, 28.3423, 69.8157)
Luminance0.2834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7BDA #A6DA7B
analogous
#807BDA #AF7BDA #DA7BD6
triadic
#AF7BDA #DAAF7B #7BDAAF
tetradic
#AF7BDA #DA807B #A6DA7B #7BD6DA
square
#AF7BDA #DA807B #A6DA7B #7BD6DA
split-complementary
#AF7BDA #D6DA7B #7BDA80
monochromatic
#7330AB #924BCD #AF7BDA #CCABE7 #E9DBF5

Accessibility & contrast

On white

3.15
#AF7BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#AF7BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7BDA
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7BDA#FFFFFF#000000##000000
##AF7BDA1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#658FDD
Deuteranopia (green-blind)
#7292D7
Tritanopia (blue-blind)
#A98AA0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af7bda;
/* rgb */ color: rgb(175, 123, 218);
/* oklch */ color: oklch(67.2% 0.145 308.2);
Tailwind
colors: {
  custom: {
    50: '#c8a2e6',
    500: '#af7bda',
    950: '#000000',
  },
}
SCSS
$custom: #af7bda;
$custom-light: #c8a2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af7bda",
  "rgb": {
    "r": 175,
    "g": 123,
    "b": 218
  },
  "hsl": {
    "h": 272.842,
    "s": 56.213,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67234,
    "c": 0.14546,
    "h": 308.2
  },
  "luminance": 0.28342
}

Semantic roles & 50–950 ramp

primary
#AF7BDA
secondary
#D7E8C9
accent
#C4226B
background
#FCFAFE
surface
#F8F3FC
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AF7BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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