#AF94CD#AF94CD

#AF94CD is a light, moderate violet. Relative luminance 0.347; OKLCH L 71.1% C 0.086 H 305.9°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#AF94CD
RGBrgb(175, 148, 205)
HSLhsl(268, 36%, 69%)
HSVhsv(268, 28%, 80%)
CMYKcmyk(14.6%, 27.8%, 0%, 19.6%)
CIE-LABlab(65.52, 21.09, -25.56)
CIE-LCHlch(65.52, 33.14, 309.53°)
OKLaboklab(71.09% 0.0507 -0.07)
OKLCHoklch(71.09% 0.086 305.9)
XYZxyz(39.2864, 34.7017, 62.3742)
Luminance0.3470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF94CD #B2CD94
analogous
#9496CD #AF94CD #CC94CD
triadic
#AF94CD #CDAF94 #94CDAF
tetradic
#AF94CD #CD9496 #B2CD94 #94CDCC
square
#AF94CD #CD9496 #B2CD94 #94CDCC
split-complementary
#AF94CD #CDCC94 #96CD94
monochromatic
#71499D #906ABA #AF94CD #CEBEE0 #EDE7F4

Accessibility & contrast

On white

2.64
#AF94CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#AF94CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF94CD
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF94CD#FFFFFF#000000##000000
##AF94CD1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#899ECF
Deuteranopia (green-blind)
#8F9FCB
Tritanopia (blue-blind)
#AB9CA8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af94cd;
/* rgb */ color: rgb(175, 148, 205);
/* oklch */ color: oklch(71.1% 0.086 305.9);
Tailwind
colors: {
  custom: {
    50: '#c7b3dc',
    500: '#af94cd',
    950: '#000000',
  },
}
SCSS
$custom: #af94cd;
$custom-light: #c7b3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af94cd",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 205
  },
  "hsl": {
    "h": 268.421,
    "s": 36.306,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71093,
    "c": 0.08644,
    "h": 305.9
  },
  "luminance": 0.34702
}

Semantic roles & 50–950 ramp

primary
#AF94CD
secondary
#DFE7D6
accent
#AF3676
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AF94CD

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

Preview Lab → · Contrast checker → · Palette generator →

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