#AF4EEF#AF4EEF

#AF4EEF is a light, highly saturated violet. Relative luminance 0.208; OKLCH L 62.1% C 0.235 H 308.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AF4EEF
RGBrgb(175, 78, 239)
HSLhsl(276, 83%, 62%)
HSVhsv(276, 67%, 94%)
CMYKcmyk(26.8%, 67.4%, 0%, 6.3%)
CIE-LABlab(52.72, 65.47, -64.77)
CIE-LCHlch(52.72, 92.09, 315.31°)
OKLaboklab(62.12% 0.1468 -0.1833)
OKLCHoklch(62.12% 0.235 308.7)
XYZxyz(35.9804, 20.7953, 83.7631)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4EEF #8EEF4E
analogous
#5F4EEF #AF4EEF #EF4EDF
triadic
#AF4EEF #EFAF4E #4EEFAF
tetradic
#AF4EEF #EF5F4E #8EEF4E #4EDFEF
square
#AF4EEF #EF5F4E #8EEF4E #4EDFEF
split-complementary
#AF4EEF #DFEF4E #4EEF5F
monochromatic
#7210B2 #9616EA #AF4EEF #C886F4 #E2BEF9

Accessibility & contrast

On white

4.07
#AF4EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#AF4EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4EEF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4EEF#FFFFFF#000000##000000
##AF4EEF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#2D7FEB
Tritanopia (blue-blind)
#A57199
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #af4eef;
/* rgb */ color: rgb(175, 78, 239);
/* oklch */ color: oklch(62.1% 0.235 308.7);
Tailwind
colors: {
  custom: {
    50: '#cc86f5',
    500: '#af4eef',
    950: '#000000',
  },
}
SCSS
$custom: #af4eef;
$custom-light: #cc86f5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4eef",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 239
  },
  "hsl": {
    "h": 276.149,
    "s": 83.42,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62124,
    "c": 0.23487,
    "h": 308.7
  },
  "luminance": 0.20795
}

Semantic roles & 50–950 ramp

primary
#AF4EEF
secondary
#C6EAAF
accent
#E0065C
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #AF4EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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