#AF4EE3#AF4EE3

#AF4EE3 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.3% C 0.223 H 311.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AF4EE3
RGBrgb(175, 78, 227)
HSLhsl(279, 73%, 60%)
HSVhsv(279, 66%, 89%)
CMYKcmyk(22.9%, 65.6%, 0%, 11%)
CIE-LABlab(51.96, 62.92, -59.25)
CIE-LCHlch(51.96, 86.43, 316.72°)
OKLaboklab(61.33% 0.1479 -0.1671)
OKLCHoklch(61.33% 0.223 311.5)
XYZxyz(34.2661, 20.1096, 74.7346)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4EE3 #82E34E
analogous
#644EE3 #AF4EE3 #E34ECD
triadic
#AF4EE3 #E3AF4E #4EE3AF
tetradic
#AF4EE3 #E3644E #82E34E #4ECDE3
square
#AF4EE3 #E3644E #82E34E #4ECDE3
split-complementary
#AF4EE3 #CDE34E #4EE364
monochromatic
#6F199E #9521D3 #AF4EE3 #C783EB #DFB8F4

Accessibility & contrast

On white

4.18
#AF4EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#AF4EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4EE3
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4EE3#FFFFFF#000000##000000
##AF4EE31.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#3E7EE0
Tritanopia (blue-blind)
#A96C92
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #af4ee3;
/* rgb */ color: rgb(175, 78, 227);
/* oklch */ color: oklch(61.3% 0.223 311.5);
Tailwind
colors: {
  custom: {
    50: '#cb86ed',
    500: '#af4ee3',
    950: '#000000',
  },
}
SCSS
$custom: #af4ee3;
$custom-light: #cb86ed;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ee3",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 227
  },
  "hsl": {
    "h": 279.06,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61333,
    "c": 0.22314,
    "h": 311.5
  },
  "luminance": 0.20109
}

Semantic roles & 50–950 ramp

primary
#AF4EE3
secondary
#BEE3AA
accent
#EF3878
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF4EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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