#AF70EE#AF70EE

#AF70EE is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.6% C 0.187 H 305.0°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AF70EE
RGBrgb(175, 112, 238)
HSLhsl(270, 79%, 69%)
HSVhsv(270, 53%, 93%)
CMYKcmyk(26.5%, 52.9%, 0%, 6.7%)
CIE-LABlab(58.86, 48.57, -54.37)
CIE-LCHlch(58.86, 72.90, 311.77°)
OKLaboklab(66.57% 0.1069 -0.153)
OKLCHoklch(66.57% 0.187 305)
XYZxyz(38.9027, 26.8756, 84.0104)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70EE #AFEE70
analogous
#7070EE #AF70EE #EE70EE
triadic
#AF70EE #EEAF70 #70EEAF
tetradic
#AF70EE #EE7070 #AFEE70 #70EEEE
square
#AF70EE #EE7070 #AFEE70 #70EEEE
split-complementary
#AF70EE #EEEE70 #70EE70
monochromatic
#7218CB #9039E7 #AF70EE #CEA7F5 #ECDDFB

Accessibility & contrast

On white

3.29
#AF70EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#AF70EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70EE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70EE#FFFFFF#000000##000000
##AF70EE1.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#468CF2
Deuteranopia (green-blind)
#5A8EEB
Tritanopia (blue-blind)
#A487A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af70ee;
/* rgb */ color: rgb(175, 112, 238);
/* oklch */ color: oklch(66.6% 0.187 305.0);
Tailwind
colors: {
  custom: {
    50: '#ca9bf4',
    500: '#af70ee',
    950: '#000000',
  },
}
SCSS
$custom: #af70ee;
$custom-light: #ca9bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#af70ee",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 238
  },
  "hsl": {
    "h": 270,
    "s": 78.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66567,
    "c": 0.18665,
    "h": 305
  },
  "luminance": 0.26875
}

Semantic roles & 50–950 ramp

primary
#AF70EE
secondary
#DDF0CA
accent
#DB0A73
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF70EE

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

Preview Lab → · Contrast checker → · Palette generator →

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