#AF75DB#AF75DB

#AF75DB is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.3% C 0.157 H 309.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AF75DB
RGBrgb(175, 117, 219)
HSLhsl(274, 59%, 66%)
HSVhsv(274, 47%, 86%)
CMYKcmyk(20.1%, 46.6%, 0%, 14.1%)
CIE-LABlab(58.93, 41.53, -43.64)
CIE-LCHlch(58.93, 60.25, 313.58°)
OKLaboklab(66.3% 0.0984 -0.1217)
OKLCHoklch(66.3% 0.157 309)
XYZxyz(36.8242, 26.9515, 70.2664)
Luminance0.2695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF75DB #A1DB75
analogous
#7C75DB #AF75DB #DB75D4
triadic
#AF75DB #DBAF75 #75DBAF
tetradic
#AF75DB #DB7C75 #A1DB75 #75D4DB
square
#AF75DB #DB7C75 #A1DB75 #75D4DB
split-complementary
#AF75DB #D4DB75 #75DB7C
monochromatic
#732CA9 #9344CE #AF75DB #CBA6E8 #E7D6F4

Accessibility & contrast

On white

3.29
#AF75DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#AF75DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF75DB
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF75DB#FFFFFF#000000##000000
##AF75DB1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8BDF
Deuteranopia (green-blind)
#6C8FD8
Tritanopia (blue-blind)
#A9869E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af75db;
/* rgb */ color: rgb(175, 117, 219);
/* oklch */ color: oklch(66.3% 0.157 309.0);
Tailwind
colors: {
  custom: {
    50: '#c99ee6',
    500: '#af75db',
    950: '#000000',
  },
}
SCSS
$custom: #af75db;
$custom-light: #c99ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#af75db",
  "rgb": {
    "r": 175,
    "g": 117,
    "b": 219
  },
  "hsl": {
    "h": 274.118,
    "s": 58.621,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66301,
    "c": 0.15654,
    "h": 309
  },
  "luminance": 0.26951
}

Semantic roles & 50–950 ramp

primary
#AF75DB
secondary
#D4E7C5
accent
#C61F67
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF75DB

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

Preview Lab → · Contrast checker → · Palette generator →

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