#AF4FD3#AF4FD3

#AF4FD3 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.5% C 0.206 H 315.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AF4FD3
RGBrgb(175, 79, 211)
HSLhsl(284, 60%, 57%)
HSVhsv(284, 63%, 83%)
CMYKcmyk(17.1%, 62.6%, 0%, 17.3%)
CIE-LABlab(51.16, 59.17, -51.44)
CIE-LCHlch(51.16, 78.41, 319.00°)
OKLaboklab(60.45% 0.1474 -0.1443)
OKLCHoklch(60.45% 0.206 315.6)
XYZxyz(32.2312, 19.4102, 63.6641)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4FD3 #73D34F
analogous
#6D4FD3 #AF4FD3 #D34FB5
triadic
#AF4FD3 #D3AF4F #4FD3AF
tetradic
#AF4FD3 #D36D4F #73D34F #4FB5D3
square
#AF4FD3 #D36D4F #73D34F #4FB5D3
split-complementary
#AF4FD3 #B5D34F #4FD36D
monochromatic
#6B2286 #922EB7 #AF4FD3 #C580DF #DCB1EB

Accessibility & contrast

On white

4.30
#AF4FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AF4FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4FD3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4FD3#FFFFFF#000000##000000
##AF4FD31.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2074D7
Deuteranopia (green-blind)
#4E7DD0
Tritanopia (blue-blind)
#AD678A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af4fd3;
/* rgb */ color: rgb(175, 79, 211);
/* oklch */ color: oklch(60.5% 0.206 315.6);
Tailwind
colors: {
  custom: {
    50: '#ca86e1',
    500: '#af4fd3',
    950: '#000000',
  },
}
SCSS
$custom: #af4fd3;
$custom-light: #ca86e1;
$custom-dark: #000000;
JSON
{
  "hex": "#af4fd3",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 283.636,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60451,
    "c": 0.20622,
    "h": 315.6
  },
  "luminance": 0.19409
}

Semantic roles & 50–950 ramp

primary
#AF4FD3
secondary
#B3DAA4
accent
#E34570
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF4FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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