#AF65DB#AF65DB

#AF65DB is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.8% C 0.182 H 311.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AF65DB
RGBrgb(175, 101, 219)
HSLhsl(278, 62%, 63%)
HSVhsv(278, 54%, 86%)
CMYKcmyk(20.1%, 53.9%, 0%, 14.1%)
CIE-LABlab(55.62, 50.07, -48.88)
CIE-LCHlch(55.62, 69.97, 315.69°)
OKLaboklab(63.85% 0.12 -0.1369)
OKLCHoklch(63.85% 0.182 311.2)
XYZxyz(35.1167, 23.5365, 69.6972)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65DB #91DB65
analogous
#7465DB #AF65DB #DB65CC
triadic
#AF65DB #DBAF65 #65DBAF
tetradic
#AF65DB #DB7465 #91DB65 #65CCDB
square
#AF65DB #DB7465 #91DB65 #65CCDB
split-complementary
#AF65DB #CCDB65 #65DB74
monochromatic
#7225A0 #9533CF #AF65DB #C997E7 #E3C8F2

Accessibility & contrast

On white

3.68
#AF65DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#AF65DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65DB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65DB#FFFFFF#000000##000000
##AF65DB1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482DF
Deuteranopia (green-blind)
#5C87D8
Tritanopia (blue-blind)
#AA7997
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af65db;
/* rgb */ color: rgb(175, 101, 219);
/* oklch */ color: oklch(63.8% 0.182 311.2);
Tailwind
colors: {
  custom: {
    50: '#c994e7',
    500: '#af65db',
    950: '#000000',
  },
}
SCSS
$custom: #af65db;
$custom-light: #c994e7;
$custom-dark: #000000;
JSON
{
  "hex": "#af65db",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 277.627,
    "s": 62.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63848,
    "c": 0.18207,
    "h": 311.2
  },
  "luminance": 0.23536
}

Semantic roles & 50–950 ramp

primary
#AF65DB
secondary
#C8E3B9
accent
#CA1C5D
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF65DB

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

Preview Lab → · Contrast checker → · Palette generator →

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