#AF5EF0#AF5EF0

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

Color values

HEX#AF5EF0
RGBrgb(175, 94, 240)
HSLhsl(273, 83%, 65%)
HSVhsv(273, 61%, 94%)
CMYKcmyk(27.1%, 60.8%, 0%, 5.9%)
CIE-LABlab(55.49, 58.26, -60.87)
CIE-LCHlch(55.49, 84.25, 313.74°)
OKLaboklab(64.14% 0.1291 -0.172)
OKLCHoklch(64.14% 0.215 306.9)
XYZxyz(37.4068, 23.4110, 84.9693)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EF0 #9FF05E
analogous
#665EF0 #AF5EF0 #F05EE8
triadic
#AF5EF0 #F0AF5E #5EF0AF
tetradic
#AF5EF0 #F0665E #9FF05E #5EE8F0
square
#AF5EF0 #F0665E #9FF05E #5EE8F0
split-complementary
#AF5EF0 #E8F05E #5EF066
monochromatic
#7312C2 #9326EB #AF5EF0 #CB96F5 #E7CEFA

Accessibility & contrast

On white

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

On black

5.68
#AF5EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EF0
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EF0#FFFFFF#000000##000000
##AF5EF01.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F82F5
Deuteranopia (green-blind)
#4286ED
Tritanopia (blue-blind)
#A57B9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af5ef0;
/* rgb */ color: rgb(175, 94, 240);
/* oklch */ color: oklch(64.1% 0.215 306.9);
Tailwind
colors: {
  custom: {
    50: '#cb90f6',
    500: '#af5ef0',
    950: '#000000',
  },
}
SCSS
$custom: #af5ef0;
$custom-light: #cb90f6;
$custom-dark: #000000;
JSON
{
  "hex": "#af5ef0",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 240
  },
  "hsl": {
    "h": 273.288,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6414,
    "c": 0.215,
    "h": 306.9
  },
  "luminance": 0.23411
}

Semantic roles & 50–950 ramp

primary
#AF5EF0
secondary
#D2EDBC
accent
#DF0667
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF5EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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