#AF3CDB#AF3CDB

#AF3CDB is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.9% C 0.237 H 314.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AF3CDB
RGBrgb(175, 60, 219)
HSLhsl(283, 69%, 55%)
HSVhsv(283, 73%, 86%)
CMYKcmyk(20.1%, 72.6%, 0%, 14.1%)
CIE-LABlab(48.84, 68.66, -59.74)
CIE-LCHlch(48.84, 91.01, 318.97°)
OKLaboklab(58.94% 0.1669 -0.1685)
OKLCHoklch(58.94% 0.237 314.7)
XYZxyz(32.0791, 17.4613, 68.6847)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CDB #68DB3C
analogous
#5F3CDB #AF3CDB #DB3CB8
triadic
#AF3CDB #DBAF3C #3CDBAF
tetradic
#AF3CDB #DB5F3C #68DB3C #3CB8DB
square
#AF3CDB #DB5F3C #68DB3C #3CB8DB
split-complementary
#AF3CDB #B8DB3C #3CDB5F
monochromatic
#661884 #8E22B8 #AF3CDB #C470E5 #D9A3EE

Accessibility & contrast

On white

4.67
#AF3CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AF3CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CDB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CDB#FFFFFF#000000##FFFFFF
##AF3CDB1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#3477D8
Tritanopia (blue-blind)
#AB5E89
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af3cdb;
/* rgb */ color: rgb(175, 60, 219);
/* oklch */ color: oklch(58.9% 0.237 314.7);
Tailwind
colors: {
  custom: {
    50: '#cb7ce7',
    500: '#af3cdb',
    950: '#000000',
  },
}
SCSS
$custom: #af3cdb;
$custom-light: #cb7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cdb",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 219
  },
  "hsl": {
    "h": 283.396,
    "s": 68.831,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58939,
    "c": 0.23715,
    "h": 314.7
  },
  "luminance": 0.1746
}

Semantic roles & 50–950 ramp

primary
#AF3CDB
secondary
#AADB98
accent
#EC3C6D
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AF3CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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