#AF3DBA#AF3DBA

#AF3DBA is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.207 H 324.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AF3DBA
RGBrgb(175, 61, 186)
HSLhsl(295, 51%, 48%)
HSVhsv(295, 67%, 73%)
CMYKcmyk(5.9%, 67.2%, 0%, 27.1%)
CIE-LABlab(46.97, 62.09, -43.69)
CIE-LCHlch(46.97, 75.92, 324.87°)
OKLaboklab(56.97% 0.168 -0.1215)
OKLCHoklch(56.97% 0.207 324.1)
XYZxyz(28.2101, 15.9983, 48.0469)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DBA #48BA3D
analogous
#703DBA #AF3DBA #BA3D86
triadic
#AF3DBA #BAAF3D #3DBAAF
tetradic
#AF3DBA #BA703D #48BA3D #3D86BA
square
#AF3DBA #BA703D #48BA3D #3D86BA
split-complementary
#AF3DBA #86BA3D #3DBA70
monochromatic
#581F5E #842E8C #AF3DBA #C467CD #D695DC

Accessibility & contrast

On white

5.00
#AF3DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AF3DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DBA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DBA#FFFFFF#000000##FFFFFF
##AF3DBA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F67BE
Deuteranopia (green-blind)
#5374B7
Tritanopia (blue-blind)
#B25177
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3dba;
/* rgb */ color: rgb(175, 61, 186);
/* oklch */ color: oklch(57.0% 0.207 324.1);
Tailwind
colors: {
  custom: {
    50: '#ca7ccf',
    500: '#af3dba',
    950: '#000000',
  },
}
SCSS
$custom: #af3dba;
$custom-light: #ca7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dba",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 294.72,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56968,
    "c": 0.20732,
    "h": 324.1
  },
  "luminance": 0.15997
}

Semantic roles & 50–950 ramp

primary
#AF3DBA
secondary
#90C88B
accent
#DA4E5A
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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