#AF3FCB#AF3FCB

#AF3FCB is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.2% C 0.220 H 318.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AF3FCB
RGBrgb(175, 63, 203)
HSLhsl(288, 57%, 52%)
HSVhsv(288, 69%, 80%)
CMYKcmyk(13.8%, 69%, 0%, 20.4%)
CIE-LABlab(48.24, 64.43, -51.53)
CIE-LCHlch(48.24, 82.51, 321.35°)
OKLaboklab(58.19% 0.1654 -0.1444)
OKLCHoklch(58.19% 0.22 318.9)
XYZxyz(30.2348, 16.9822, 58.1736)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FCB #5BCB3F
analogous
#693FCB #AF3FCB #CB3FA1
triadic
#AF3FCB #CBAF3F #3FCBAF
tetradic
#AF3FCB #CB693F #5BCB3F #3FA1CB
square
#AF3FCB #CB693F #5BCB3F #3FA1CB
split-complementary
#AF3FCB #A1CB3F #3FCB69
monochromatic
#611F71 #8A2CA1 #AF3FCB #C36FD8 #D79FE5

Accessibility & contrast

On white

4.78
#AF3FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AF3FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FCB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FCB#FFFFFF#000000##FFFFFF
##AF3FCB1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#4876C8
Tritanopia (blue-blind)
#AF5981
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3fcb;
/* rgb */ color: rgb(175, 63, 203);
/* oklch */ color: oklch(58.2% 0.220 318.9);
Tailwind
colors: {
  custom: {
    50: '#cb7ddb',
    500: '#af3fcb',
    950: '#000000',
  },
}
SCSS
$custom: #af3fcb;
$custom-light: #cb7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fcb",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 288,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58193,
    "c": 0.21958,
    "h": 318.9
  },
  "luminance": 0.16981
}

Semantic roles & 50–950 ramp

primary
#AF3FCB
secondary
#A1D194
accent
#E14766
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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