#AF3DCB#AF3DCB

#AF3DCB is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.0% C 0.222 H 319.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AF3DCB
RGBrgb(175, 61, 203)
HSLhsl(288, 58%, 52%)
HSVhsv(288, 70%, 80%)
CMYKcmyk(13.8%, 70%, 0%, 20.4%)
CIE-LABlab(47.96, 65.21, -51.97)
CIE-LCHlch(47.96, 83.39, 321.44°)
OKLaboklab(58% 0.1674 -0.1457)
OKLCHoklch(58% 0.222 319)
XYZxyz(30.1260, 16.7647, 58.1374)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DCB #59CB3D
analogous
#683DCB #AF3DCB #CB3DA0
triadic
#AF3DCB #CBAF3D #3DCBAF
tetradic
#AF3DCB #CB683D #59CB3D #3DA0CB
square
#AF3DCB #CB683D #59CB3D #3DA0CB
split-complementary
#AF3DCB #A0CB3D #3DCB68
monochromatic
#601E70 #892BA0 #AF3DCB #C36DD8 #D79EE5

Accessibility & contrast

On white

4.82
#AF3DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AF3DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DCB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DCB#FFFFFF#000000##FFFFFF
##AF3DCB1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#AF5880
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3dcb;
/* rgb */ color: rgb(175, 61, 203);
/* oklch */ color: oklch(58.0% 0.222 319.0);
Tailwind
colors: {
  custom: {
    50: '#cb7cdb',
    500: '#af3dcb',
    950: '#000000',
  },
}
SCSS
$custom: #af3dcb;
$custom-light: #cb7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dcb",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 288.169,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57996,
    "c": 0.22196,
    "h": 319
  },
  "luminance": 0.16763
}

Semantic roles & 50–950 ramp

primary
#AF3DCB
secondary
#9FD193
accent
#E14765
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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