#AF6BF9#AF6BF9

#AF6BF9 is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.5% C 0.207 H 303.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AF6BF9
RGBrgb(175, 107, 249)
HSLhsl(269, 92%, 70%)
HSVhsv(269, 57%, 98%)
CMYKcmyk(29.7%, 57%, 0%, 2.4%)
CIE-LABlab(58.48, 53.76, -61.08)
CIE-LCHlch(58.48, 81.37, 311.35°)
OKLaboklab(66.49% 0.1135 -0.1726)
OKLCHoklch(66.49% 0.207 303.3)
XYZxyz(40.0319, 26.4690, 92.6042)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6BF9 #B5F96B
analogous
#6B6EF9 #AF6BF9 #F66BF9
triadic
#AF6BF9 #F9AF6B #6BF9AF
tetradic
#AF6BF9 #F96B6E #B5F96B #6BF9F6
square
#AF6BF9 #F96B6E #B5F96B #6BF9F6
split-complementary
#AF6BF9 #F9F66B #6EF96B
monochromatic
#7009E0 #8F30F7 #AF6BF9 #CFA6FB #EFE1FE

Accessibility & contrast

On white

3.34
#AF6BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#AF6BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6BF9
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6BF9#FFFFFF#000000##000000
##AF6BF91.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8BFE
Deuteranopia (green-blind)
#4A8CF6
Tritanopia (blue-blind)
#A187A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af6bf9;
/* rgb */ color: rgb(175, 107, 249);
/* oklch */ color: oklch(66.5% 0.207 303.3);
Tailwind
colors: {
  custom: {
    50: '#cb98fc',
    500: '#af6bf9',
    950: '#000000',
  },
}
SCSS
$custom: #af6bf9;
$custom-light: #cb98fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af6bf9",
  "rgb": {
    "r": 175,
    "g": 107,
    "b": 249
  },
  "hsl": {
    "h": 268.732,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66489,
    "c": 0.20659,
    "h": 303.3
  },
  "luminance": 0.26469
}

Semantic roles & 50–950 ramp

primary
#AF6BF9
secondary
#E1F4CC
accent
#E60078
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF6BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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