#AF6DFA#AF6DFA

#AF6DFA is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 66.8% C 0.205 H 302.8°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AF6DFA
RGBrgb(175, 109, 250)
HSLhsl(268, 93%, 70%)
HSVhsv(268, 56%, 98%)
CMYKcmyk(30%, 56.4%, 0%, 2%)
CIE-LABlab(58.93, 52.96, -60.91)
CIE-LCHlch(58.93, 80.71, 311.01°)
OKLaboklab(66.84% 0.1111 -0.1721)
OKLCHoklch(66.84% 0.205 302.8)
XYZxyz(40.3992, 26.9534, 93.4981)
Luminance0.2695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6DFA #B8FA6D
analogous
#6D71FA #AF6DFA #F56DFA
triadic
#AF6DFA #FAAF6D #6DFAAF
tetradic
#AF6DFA #FA6D71 #B8FA6D #6DFAF5
square
#AF6DFA #FA6D71 #B8FA6D #6DFAF5
split-complementary
#AF6DFA #FAF56D #71FA6D
monochromatic
#6F08E5 #8F32F8 #AF6DFA #CFA8FC #EFE1FE

Accessibility & contrast

On white

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

On black

6.39
#AF6DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6DFA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6DFA#FFFFFF#000000##000000
##AF6DFA1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#318CFF
Deuteranopia (green-blind)
#4B8DF7
Tritanopia (blue-blind)
#A189A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af6dfa;
/* rgb */ color: rgb(175, 109, 250);
/* oklch */ color: oklch(66.8% 0.205 302.8);
Tailwind
colors: {
  custom: {
    50: '#cb99fd',
    500: '#af6dfa',
    950: '#000000',
  },
}
SCSS
$custom: #af6dfa;
$custom-light: #cb99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#af6dfa",
  "rgb": {
    "r": 175,
    "g": 109,
    "b": 250
  },
  "hsl": {
    "h": 268.085,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66838,
    "c": 0.20486,
    "h": 302.8
  },
  "luminance": 0.26953
}

Semantic roles & 50–950 ramp

primary
#AF6DFA
secondary
#E3F5CE
accent
#E6007A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF6DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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