#AF7CED#AF7CED

#AF7CED is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.4% C 0.167 H 303.1°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#AF7CED
RGBrgb(175, 124, 237)
HSLhsl(267, 76%, 71%)
HSVhsv(267, 48%, 93%)
CMYKcmyk(26.2%, 47.7%, 0%, 7.1%)
CIE-LABlab(61.35, 41.84, -49.86)
CIE-LCHlch(61.35, 65.09, 310.00°)
OKLaboklab(68.4% 0.0912 -0.1398)
OKLCHoklch(68.4% 0.167 303.1)
XYZxyz(40.1696, 29.6437, 83.7099)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7CED #BAED7C
analogous
#7C81ED #AF7CED #E87CED
triadic
#AF7CED #EDAF7C #7CEDAF
tetradic
#AF7CED #ED7C81 #BAED7C #7CEDE8
square
#AF7CED #ED7C81 #BAED7C #7CEDE8
split-complementary
#AF7CED #EDE87C #81ED7C
monochromatic
#6E1DD2 #8E46E6 #AF7CED #D0B2F4 #EFE4FB

Accessibility & contrast

On white

3.03
#AF7CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#AF7CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7CED
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7CED#FFFFFF#000000##000000
##AF7CED1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F1
Deuteranopia (green-blind)
#6894EA
Tritanopia (blue-blind)
#A490A9
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af7ced;
/* rgb */ color: rgb(175, 124, 237);
/* oklch */ color: oklch(68.4% 0.167 303.1);
Tailwind
colors: {
  custom: {
    50: '#c9a3f3',
    500: '#af7ced',
    950: '#000000',
  },
}
SCSS
$custom: #af7ced;
$custom-light: #c9a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#af7ced",
  "rgb": {
    "r": 175,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 267.08,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68396,
    "c": 0.16694,
    "h": 303.1
  },
  "luminance": 0.29644
}

Semantic roles & 50–950 ramp

primary
#AF7CED
secondary
#E4F2D3
accent
#D80D7D
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AF7CED

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

Preview Lab → · Contrast checker → · Palette generator →

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