#AF6BED#AF6BED

#AF6BED is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.8% C 0.193 H 305.9°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AF6BED
RGBrgb(175, 107, 237)
HSLhsl(271, 78%, 67%)
HSVhsv(271, 55%, 93%)
CMYKcmyk(26.2%, 54.9%, 0%, 7.1%)
CIE-LABlab(57.79, 50.98, -55.51)
CIE-LCHlch(57.79, 75.37, 312.56°)
OKLaboklab(65.76% 0.1132 -0.1563)
OKLCHoklch(65.76% 0.193 305.9)
XYZxyz(38.2197, 25.7441, 83.0600)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6BED #A9ED6B
analogous
#6E6BED #AF6BED #ED6BEA
triadic
#AF6BED #EDAF6B #6BEDAF
tetradic
#AF6BED #ED6E6B #A9ED6B #6BEAED
square
#AF6BED #ED6E6B #A9ED6B #6BEAED
split-complementary
#AF6BED #EAED6B #6BED6E
monochromatic
#7318C6 #9234E6 #AF6BED #CCA2F4 #EAD8FA

Accessibility & contrast

On white

3.42
#AF6BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#AF6BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6BED
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6BED#FFFFFF#000000##000000
##AF6BED1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D89F1
Deuteranopia (green-blind)
#558BEA
Tritanopia (blue-blind)
#A583A2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af6bed;
/* rgb */ color: rgb(175, 107, 237);
/* oklch */ color: oklch(65.8% 0.193 305.9);
Tailwind
colors: {
  custom: {
    50: '#ca98f3',
    500: '#af6bed',
    950: '#000000',
  },
}
SCSS
$custom: #af6bed;
$custom-light: #ca98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#af6bed",
  "rgb": {
    "r": 175,
    "g": 107,
    "b": 237
  },
  "hsl": {
    "h": 271.385,
    "s": 78.313,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65764,
    "c": 0.19302,
    "h": 305.9
  },
  "luminance": 0.25744
}

Semantic roles & 50–950 ramp

primary
#AF6BED
secondary
#D9EEC6
accent
#DB0B6E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6BED

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

Preview Lab → · Contrast checker → · Palette generator →

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