#AF5FF0#AF5FF0

#AF5FF0 is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.3% C 0.214 H 306.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AF5FF0
RGBrgb(175, 95, 240)
HSLhsl(273, 83%, 66%)
HSVhsv(273, 60%, 94%)
CMYKcmyk(27.1%, 60.4%, 0%, 5.9%)
CIE-LABlab(55.67, 57.76, -60.58)
CIE-LCHlch(55.67, 83.70, 313.64°)
OKLaboklab(64.27% 0.1279 -0.1711)
OKLCHoklch(64.27% 0.214 306.8)
XYZxyz(37.4963, 23.5900, 84.9992)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5FF0 #A0F05F
analogous
#665FF0 #AF5FF0 #F05FE9
triadic
#AF5FF0 #F0AF5F #5FF0AF
tetradic
#AF5FF0 #F0665F #A0F05F #5FE9F0
square
#AF5FF0 #F0665F #A0F05F #5FE9F0
split-complementary
#AF5FF0 #E9F05F #5FF066
monochromatic
#7312C2 #9327EB #AF5FF0 #CB97F5 #E7CFFA

Accessibility & contrast

On white

3.67
#AF5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#AF5FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5FF0
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5FF0#FFFFFF#000000##000000
##AF5FF01.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1483F5
Deuteranopia (green-blind)
#4486ED
Tritanopia (blue-blind)
#A47C9F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af5ff0;
/* rgb */ color: rgb(175, 95, 240);
/* oklch */ color: oklch(64.3% 0.214 306.8);
Tailwind
colors: {
  custom: {
    50: '#cb90f6',
    500: '#af5ff0',
    950: '#000000',
  },
}
SCSS
$custom: #af5ff0;
$custom-light: #cb90f6;
$custom-dark: #000000;
JSON
{
  "hex": "#af5ff0",
  "rgb": {
    "r": 175,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 273.103,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64272,
    "c": 0.21362,
    "h": 306.8
  },
  "luminance": 0.2359
}

Semantic roles & 50–950 ramp

primary
#AF5FF0
secondary
#D3EEBD
accent
#DF0668
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF5FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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