#AF5EE7#AF5EE7

#AF5EE7 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.6% C 0.205 H 309.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AF5EE7
RGBrgb(175, 94, 231)
HSLhsl(275, 74%, 64%)
HSVhsv(275, 59%, 91%)
CMYKcmyk(24.2%, 59.3%, 0%, 9.4%)
CIE-LABlab(54.96, 56.25, -56.69)
CIE-LCHlch(54.96, 79.86, 314.78°)
OKLaboklab(63.58% 0.1292 -0.1597)
OKLCHoklch(63.58% 0.205 309)
XYZxyz(36.1029, 22.8895, 78.1020)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EE7 #96E75E
analogous
#6A5EE7 #AF5EE7 #E75EDB
triadic
#AF5EE7 #E7AF5E #5EE7AF
tetradic
#AF5EE7 #E76A5E #96E75E #5EDBE7
square
#AF5EE7 #E76A5E #96E75E #5EDBE7
split-complementary
#AF5EE7 #DBE75E #5EE76A
monochromatic
#731AB0 #9529DF #AF5EE7 #C993EF #E4C9F7

Accessibility & contrast

On white

3.76
#AF5EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#AF5EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EE7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EE7#FFFFFF#000000##000000
##AF5EE71.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2680EB
Deuteranopia (green-blind)
#4C85E4
Tritanopia (blue-blind)
#A7789A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af5ee7;
/* rgb */ color: rgb(175, 94, 231);
/* oklch */ color: oklch(63.6% 0.205 309.0);
Tailwind
colors: {
  custom: {
    50: '#ca8fef',
    500: '#af5ee7',
    950: '#000000',
  },
}
SCSS
$custom: #af5ee7;
$custom-light: #ca8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#af5ee7",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 275.474,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63579,
    "c": 0.20544,
    "h": 309
  },
  "luminance": 0.22889
}

Semantic roles & 50–950 ramp

primary
#AF5EE7
secondary
#CCE9B8
accent
#D60F61
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF5EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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