#AF6CFA#AF6CFA

#AF6CFA is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.7% C 0.206 H 303.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AF6CFA
RGBrgb(175, 108, 250)
HSLhsl(268, 93%, 70%)
HSVhsv(268, 57%, 98%)
CMYKcmyk(30%, 56.8%, 0%, 2%)
CIE-LABlab(58.73, 53.48, -61.22)
CIE-LCHlch(58.73, 81.29, 311.14°)
OKLaboklab(66.69% 0.1123 -0.173)
OKLCHoklch(66.69% 0.206 303)
XYZxyz(40.2932, 26.7412, 93.4628)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6CFA #B7FA6C
analogous
#6C70FA #AF6CFA #F66CFA
triadic
#AF6CFA #FAAF6C #6CFAAF
tetradic
#AF6CFA #FA6C70 #B7FA6C #6CFAF6
square
#AF6CFA #FA6C70 #B7FA6C #6CFAF6
split-complementary
#AF6CFA #FAF66C #70FA6C
monochromatic
#7008E4 #8F31F8 #AF6CFA #CFA7FC #EFE1FE

Accessibility & contrast

On white

3.31
#AF6CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#AF6CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6CFA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6CFA#FFFFFF#000000##000000
##AF6CFA1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8CFF
Deuteranopia (green-blind)
#4A8DF7
Tritanopia (blue-blind)
#A188A9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af6cfa;
/* rgb */ color: rgb(175, 108, 250);
/* oklch */ color: oklch(66.7% 0.206 303.0);
Tailwind
colors: {
  custom: {
    50: '#cb99fd',
    500: '#af6cfa',
    950: '#000000',
  },
}
SCSS
$custom: #af6cfa;
$custom-light: #cb99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#af6cfa",
  "rgb": {
    "r": 175,
    "g": 108,
    "b": 250
  },
  "hsl": {
    "h": 268.31,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66694,
    "c": 0.20629,
    "h": 303
  },
  "luminance": 0.26741
}

Semantic roles & 50–950 ramp

primary
#AF6CFA
secondary
#E2F5CD
accent
#E60079
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF6CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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