#AF43CB#AF43CB

#AF43CB is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.6% C 0.215 H 318.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AF43CB
RGBrgb(175, 67, 203)
HSLhsl(288, 57%, 53%)
HSVhsv(288, 67%, 80%)
CMYKcmyk(13.8%, 67%, 0%, 20.4%)
CIE-LABlab(48.81, 62.82, -50.61)
CIE-LCHlch(48.81, 80.67, 321.14°)
OKLaboklab(58.6% 0.1611 -0.1418)
OKLCHoklch(58.6% 0.215 318.7)
XYZxyz(30.4644, 17.4414, 58.2502)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43CB #5FCB43
analogous
#6B43CB #AF43CB #CB43A3
triadic
#AF43CB #CBAF43 #43CBAF
tetradic
#AF43CB #CB6B43 #5FCB43 #43A3CB
square
#AF43CB #CB6B43 #5FCB43 #43A3CB
split-complementary
#AF43CB #A3CB43 #43CB6B
monochromatic
#622074 #8B2DA4 #AF43CB #C373D8 #D8A3E6

Accessibility & contrast

On white

4.68
#AF43CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF43CB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43CB#FFFFFF#000000##FFFFFF
##AF43CB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#076DCF
Deuteranopia (green-blind)
#4B77C8
Tritanopia (blue-blind)
#AF5C82
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af43cb;
/* rgb */ color: rgb(175, 67, 203);
/* oklch */ color: oklch(58.6% 0.215 318.7);
Tailwind
colors: {
  custom: {
    50: '#ca7fdb',
    500: '#af43cb',
    950: '#000000',
  },
}
SCSS
$custom: #af43cb;
$custom-light: #ca7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#af43cb",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 287.647,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58604,
    "c": 0.21463,
    "h": 318.7
  },
  "luminance": 0.1744
}

Semantic roles & 50–950 ramp

primary
#AF43CB
secondary
#A4D298
accent
#E04867
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF43CB

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

Preview Lab → · Contrast checker → · Palette generator →

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