#AF74DA#AF74DA

#AF74DA is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.1% C 0.157 H 309.4°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AF74DA
RGBrgb(175, 116, 218)
HSLhsl(275, 58%, 65%)
HSVhsv(275, 47%, 85%)
CMYKcmyk(19.7%, 46.8%, 0%, 14.5%)
CIE-LABlab(58.66, 41.85, -43.50)
CIE-LCHlch(58.66, 60.37, 313.90°)
OKLaboklab(66.09% 0.0997 -0.1213)
OKLCHoklch(66.09% 0.157 309.4)
XYZxyz(36.5771, 26.6672, 69.5365)
Luminance0.2667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF74DA #9FDA74
analogous
#7C74DA #AF74DA #DA74D2
triadic
#AF74DA #DAAF74 #74DAAF
tetradic
#AF74DA #DA7C74 #9FDA74 #74D2DA
square
#AF74DA #DA7C74 #9FDA74 #74D2DA
split-complementary
#AF74DA #D2DA74 #74DA7C
monochromatic
#732CA7 #9344CD #AF74DA #CBA4E7 #E7D5F4

Accessibility & contrast

On white

3.32
#AF74DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#AF74DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF74DA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF74DA#FFFFFF#000000##000000
##AF74DA1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8ADE
Deuteranopia (green-blind)
#6B8ED7
Tritanopia (blue-blind)
#AA849D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af74da;
/* rgb */ color: rgb(175, 116, 218);
/* oklch */ color: oklch(66.1% 0.157 309.4);
Tailwind
colors: {
  custom: {
    50: '#c99de6',
    500: '#af74da',
    950: '#000000',
  },
}
SCSS
$custom: #af74da;
$custom-light: #c99de6;
$custom-dark: #000000;
JSON
{
  "hex": "#af74da",
  "rgb": {
    "r": 175,
    "g": 116,
    "b": 218
  },
  "hsl": {
    "h": 274.706,
    "s": 57.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66087,
    "c": 0.157,
    "h": 309.4
  },
  "luminance": 0.26667
}

Semantic roles & 50–950 ramp

primary
#AF74DA
secondary
#D2E6C4
accent
#C62066
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF74DA

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

Preview Lab → · Contrast checker → · Palette generator →

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