#AF65CE#AF65CE

#AF65CE is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.1% C 0.168 H 315.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AF65CE
RGBrgb(175, 101, 206)
HSLhsl(282, 52%, 60%)
HSVhsv(282, 51%, 81%)
CMYKcmyk(15%, 51%, 0%, 19.2%)
CIE-LABlab(54.95, 47.28, -42.58)
CIE-LCHlch(54.95, 63.63, 317.99°)
OKLaboklab(63.13% 0.1189 -0.1186)
OKLCHoklch(63.13% 0.168 315.1)
XYZxyz(33.4717, 22.8785, 61.0333)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65CE #84CE65
analogous
#7B65CE #AF65CE #CE65B8
triadic
#AF65CE #CEAF65 #65CEAF
tetradic
#AF65CE #CE7B65 #84CE65 #65B8CE
square
#AF65CE #CE7B65 #84CE65 #65B8CE
split-complementary
#AF65CE #B8CE65 #65CE7B
monochromatic
#702D8C #953BBA #AF65CE #C793DD #DFC2EC

Accessibility & contrast

On white

3.77
#AF65CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#AF65CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65CE
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65CE#FFFFFF#000000##000000
##AF65CE1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD2
Deuteranopia (green-blind)
#6486CB
Tritanopia (blue-blind)
#AD7590
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af65ce;
/* rgb */ color: rgb(175, 101, 206);
/* oklch */ color: oklch(63.1% 0.168 315.1);
Tailwind
colors: {
  custom: {
    50: '#c993dd',
    500: '#af65ce',
    950: '#000000',
  },
}
SCSS
$custom: #af65ce;
$custom-light: #c993dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af65ce",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 206
  },
  "hsl": {
    "h": 282.286,
    "s": 51.724,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63132,
    "c": 0.16792,
    "h": 315.1
  },
  "luminance": 0.22878
}

Semantic roles & 50–950 ramp

primary
#AF65CE
secondary
#BFDCB3
accent
#BF2653
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF65CE

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

Preview Lab → · Contrast checker → · Palette generator →

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