#AF68EA#AF68EA

#AF68EA is a light, vivid violet. Relative luminance 0.250; OKLCH L 65.2% C 0.194 H 307.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AF68EA
RGBrgb(175, 104, 234)
HSLhsl(273, 76%, 66%)
HSVhsv(273, 56%, 92%)
CMYKcmyk(25.2%, 55.6%, 0%, 8.2%)
CIE-LABlab(57.03, 51.85, -55.05)
CIE-LCHlch(57.03, 75.63, 313.29°)
OKLaboklab(65.15% 0.1169 -0.155)
OKLCHoklch(65.15% 0.194 307)
XYZxyz(37.4777, 24.9555, 80.6685)
Luminance0.2495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68EA #A3EA68
analogous
#6E68EA #AF68EA #EA68E4
triadic
#AF68EA #EAAF68 #68EAAF
tetradic
#AF68EA #EA6E68 #A3EA68 #68E4EA
square
#AF68EA #EA6E68 #A3EA68 #68E4EA
split-complementary
#AF68EA #E4EA68 #68EA6E
monochromatic
#731ABD #9332E3 #AF68EA #CB9EF1 #E8D3F9

Accessibility & contrast

On white

3.51
#AF68EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#AF68EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68EA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68EA#FFFFFF#000000##000000
##AF68EA1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A86EE
Deuteranopia (green-blind)
#548AE7
Tritanopia (blue-blind)
#A6809F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af68ea;
/* rgb */ color: rgb(175, 104, 234);
/* oklch */ color: oklch(65.2% 0.194 307.0);
Tailwind
colors: {
  custom: {
    50: '#ca96f1',
    500: '#af68ea',
    950: '#000000',
  },
}
SCSS
$custom: #af68ea;
$custom-light: #ca96f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af68ea",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 272.769,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65151,
    "c": 0.19411,
    "h": 307
  },
  "luminance": 0.24955
}

Semantic roles & 50–950 ramp

primary
#AF68EA
secondary
#D5ECC2
accent
#D80E69
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF68EA

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

Preview Lab → · Contrast checker → · Palette generator →

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