#AF4DF4#AF4DF4

#AF4DF4 is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.4% C 0.241 H 307.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AF4DF4
RGBrgb(175, 77, 244)
HSLhsl(275, 88%, 63%)
HSVhsv(275, 68%, 96%)
CMYKcmyk(28.3%, 68.4%, 0%, 4.3%)
CIE-LABlab(52.90, 66.98, -67.28)
CIE-LCHlch(52.90, 94.94, 314.87°)
OKLaboklab(62.35% 0.1473 -0.1907)
OKLCHoklch(62.35% 0.241 307.7)
XYZxyz(36.6588, 20.9539, 87.6837)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DF4 #92F44D
analogous
#5C4DF4 #AF4DF4 #F44DE5
triadic
#AF4DF4 #F4AF4D #4DF4AF
tetradic
#AF4DF4 #F45C4D #92F44D #4DE5F4
square
#AF4DF4 #F45C4D #92F44D #4DE5F4
split-complementary
#AF4DF4 #E5F44D #4DF45C
monochromatic
#730CBB #9513F0 #AF4DF4 #C987F8 #E3C0FB

Accessibility & contrast

On white

4.05
#AF4DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#AF4DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4DF4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DF4#FFFFFF#000000##000000
##AF4DF41.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF9
Deuteranopia (green-blind)
#217FF0
Tritanopia (blue-blind)
#A4729B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #af4df4;
/* rgb */ color: rgb(175, 77, 244);
/* oklch */ color: oklch(62.4% 0.241 307.7);
Tailwind
colors: {
  custom: {
    50: '#cc86f9',
    500: '#af4df4',
    950: '#000000',
  },
}
SCSS
$custom: #af4df4;
$custom-light: #cc86f9;
$custom-dark: #000000;
JSON
{
  "hex": "#af4df4",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 244
  },
  "hsl": {
    "h": 275.21,
    "s": 88.36,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62353,
    "c": 0.24097,
    "h": 307.7
  },
  "luminance": 0.20953
}

Semantic roles & 50–950 ramp

primary
#AF4DF4
secondary
#C9ECB0
accent
#E5015F
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #AF4DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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