#AF70F3#AF70F3

#AF70F3 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.9% C 0.192 H 303.8°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AF70F3
RGBrgb(175, 112, 243)
HSLhsl(269, 85%, 70%)
HSVhsv(269, 54%, 95%)
CMYKcmyk(28%, 53.9%, 0%, 4.7%)
CIE-LABlab(59.13, 49.73, -56.71)
CIE-LCHlch(59.13, 75.43, 311.25°)
OKLaboklab(66.86% 0.1072 -0.1598)
OKLCHoklch(66.86% 0.192 303.8)
XYZxyz(39.6475, 27.1735, 87.9329)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70F3 #B4F370
analogous
#7073F3 #AF70F3 #F170F3
triadic
#AF70F3 #F3AF70 #70F3AF
tetradic
#AF70F3 #F37073 #B4F370 #70F3F1
square
#AF70F3 #F37073 #B4F370 #70F3F1
split-complementary
#AF70F3 #F3F170 #73F370
monochromatic
#7112D7 #8F38EE #AF70F3 #CFA8F8 #EEE1FC

Accessibility & contrast

On white

3.26
#AF70F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#AF70F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70F3
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70F3#FFFFFF#000000##000000
##AF70F31.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#418DF7
Deuteranopia (green-blind)
#568EF0
Tritanopia (blue-blind)
#A389A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af70f3;
/* rgb */ color: rgb(175, 112, 243);
/* oklch */ color: oklch(66.9% 0.192 303.8);
Tailwind
colors: {
  custom: {
    50: '#ca9bf8',
    500: '#af70f3',
    950: '#000000',
  },
}
SCSS
$custom: #af70f3;
$custom-light: #ca9bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#af70f3",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 243
  },
  "hsl": {
    "h": 268.855,
    "s": 84.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6686,
    "c": 0.19244,
    "h": 303.8
  },
  "luminance": 0.27173
}

Semantic roles & 50–950 ramp

primary
#AF70F3
secondary
#E0F2CD
accent
#E10577
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF70F3

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

Preview Lab → · Contrast checker → · Palette generator →

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