#AF5FF3#AF5FF3

#AF5FF3 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.5% C 0.217 H 306.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AF5FF3
RGBrgb(175, 95, 243)
HSLhsl(272, 86%, 66%)
HSVhsv(272, 61%, 95%)
CMYKcmyk(28%, 60.9%, 0%, 4.7%)
CIE-LABlab(55.86, 58.44, -61.96)
CIE-LCHlch(55.86, 85.17, 313.33°)
OKLaboklab(64.46% 0.1278 -0.1752)
OKLCHoklch(64.46% 0.217 306.1)
XYZxyz(37.9456, 23.7698, 87.3656)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5FF3 #A3F35F
analogous
#655FF3 #AF5FF3 #F35FED
triadic
#AF5FF3 #F3AF5F #5FF3AF
tetradic
#AF5FF3 #F3655F #A3F35F #5FEDF3
square
#AF5FF3 #F3655F #A3F35F #5FEDF3
split-complementary
#AF5FF3 #EDF35F #5FF365
monochromatic
#730FC9 #9326EF #AF5FF3 #CB98F7 #E8D1FC

Accessibility & contrast

On white

3.65
#AF5FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#AF5FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5FF3
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5FF3#FFFFFF#000000##000000
##AF5FF31.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0783F8
Deuteranopia (green-blind)
#4086F0
Tritanopia (blue-blind)
#A47DA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af5ff3;
/* rgb */ color: rgb(175, 95, 243);
/* oklch */ color: oklch(64.5% 0.217 306.1);
Tailwind
colors: {
  custom: {
    50: '#cb90f8',
    500: '#af5ff3',
    950: '#000000',
  },
}
SCSS
$custom: #af5ff3;
$custom-light: #cb90f8;
$custom-dark: #000000;
JSON
{
  "hex": "#af5ff3",
  "rgb": {
    "r": 175,
    "g": 95,
    "b": 243
  },
  "hsl": {
    "h": 272.432,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64462,
    "c": 0.21683,
    "h": 306.1
  },
  "luminance": 0.23769
}

Semantic roles & 50–950 ramp

primary
#AF5FF3
secondary
#D5EFBF
accent
#E3036A
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF5FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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