#AF5FEE#AF5FEE

#AF5FEE is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.1% C 0.211 H 307.2°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AF5FEE
RGBrgb(175, 95, 238)
HSLhsl(274, 81%, 65%)
HSVhsv(274, 60%, 93%)
CMYKcmyk(26.5%, 60.1%, 0%, 6.7%)
CIE-LABlab(55.56, 57.31, -59.65)
CIE-LCHlch(55.56, 82.72, 313.85°)
OKLaboklab(64.15% 0.1279 -0.1684)
OKLCHoklch(64.15% 0.211 307.2)
XYZxyz(37.2008, 23.4719, 83.4431)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5FEE #9EEE5F
analogous
#675FEE #AF5FEE #EE5FE6
triadic
#AF5FEE #EEAF5F #5FEEAF
tetradic
#AF5FEE #EE675F #9EEE5F #5FE6EE
square
#AF5FEE #EE675F #9EEE5F #5FE6EE
split-complementary
#AF5FEE #E6EE5F #5FEE67
monochromatic
#7314BE #9328E8 #AF5FEE #CB96F4 #E6CEFA

Accessibility & contrast

On white

3.69
#AF5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#AF5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5FEE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5FEE#FFFFFF#000000##000000
##AF5FEE1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A82F3
Deuteranopia (green-blind)
#4686EB
Tritanopia (blue-blind)
#A57B9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af5fee;
/* rgb */ color: rgb(175, 95, 238);
/* oklch */ color: oklch(64.1% 0.211 307.2);
Tailwind
colors: {
  custom: {
    50: '#cb90f4',
    500: '#af5fee',
    950: '#000000',
  },
}
SCSS
$custom: #af5fee;
$custom-light: #cb90f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af5fee",
  "rgb": {
    "r": 175,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 273.566,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64146,
    "c": 0.21149,
    "h": 307.2
  },
  "luminance": 0.23471
}

Semantic roles & 50–950 ramp

primary
#AF5FEE
secondary
#D2ECBC
accent
#DD0866
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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