#AF5EEF#AF5EEF

#AF5EEF is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.1% C 0.214 H 307.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AF5EEF
RGBrgb(175, 94, 239)
HSLhsl(274, 82%, 65%)
HSVhsv(274, 61%, 94%)
CMYKcmyk(26.8%, 60.7%, 0%, 6.3%)
CIE-LABlab(55.43, 58.03, -60.41)
CIE-LCHlch(55.43, 83.77, 313.85°)
OKLaboklab(64.08% 0.1291 -0.1706)
OKLCHoklch(64.08% 0.214 307.1)
XYZxyz(37.2586, 23.3518, 84.1892)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EEF #9EEF5E
analogous
#665EEF #AF5EEF #EF5EE7
triadic
#AF5EEF #EFAF5E #5EEFAF
tetradic
#AF5EEF #EF665E #9EEF5E #5EE7EF
square
#AF5EEF #EF665E #9EEF5E #5EE7EF
split-complementary
#AF5EEF #E7EF5E #5EEF66
monochromatic
#7313C0 #9326E9 #AF5EEF #CB96F5 #E6CDFA

Accessibility & contrast

On white

3.70
#AF5EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#AF5EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EEF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EEF#FFFFFF#000000##000000
##AF5EEF1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1282F4
Deuteranopia (green-blind)
#4485EC
Tritanopia (blue-blind)
#A57B9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af5eef;
/* rgb */ color: rgb(175, 94, 239);
/* oklch */ color: oklch(64.1% 0.214 307.1);
Tailwind
colors: {
  custom: {
    50: '#cb90f5',
    500: '#af5eef',
    950: '#000000',
  },
}
SCSS
$custom: #af5eef;
$custom-light: #cb90f5;
$custom-dark: #000000;
JSON
{
  "hex": "#af5eef",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 273.517,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64077,
    "c": 0.21394,
    "h": 307.1
  },
  "luminance": 0.23351
}

Semantic roles & 50–950 ramp

primary
#AF5EEF
secondary
#D2EDBC
accent
#DE0766
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF5EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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