#AF4AE6#AF4AE6

#AF4AE6 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 61.1% C 0.231 H 311.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AF4AE6
RGBrgb(175, 74, 230)
HSLhsl(279, 76%, 60%)
HSVhsv(279, 68%, 90%)
CMYKcmyk(23.9%, 67.8%, 0%, 9.8%)
CIE-LABlab(51.53, 65.29, -61.64)
CIE-LCHlch(51.53, 89.79, 316.65°)
OKLaboklab(61.08% 0.1519 -0.1741)
OKLCHoklch(61.08% 0.231 311.1)
XYZxyz(34.4082, 19.7255, 76.8424)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4AE6 #81E64A
analogous
#614AE6 #AF4AE6 #E64ACF
triadic
#AF4AE6 #E6AF4A #4AE6AF
tetradic
#AF4AE6 #E6614A #81E64A #4ACFE6
square
#AF4AE6 #E6614A #81E64A #4ACFE6
split-complementary
#AF4AE6 #CFE64A #4AE661
monochromatic
#6F16A0 #951DD5 #AF4AE6 #C780ED #DFB6F5

Accessibility & contrast

On white

4.25
#AF4AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#AF4AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4AE6
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4AE6#FFFFFF#000000##000000
##AF4AE61.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#357DE3
Tritanopia (blue-blind)
#A86B93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af4ae6;
/* rgb */ color: rgb(175, 74, 230);
/* oklch */ color: oklch(61.1% 0.231 311.1);
Tailwind
colors: {
  custom: {
    50: '#cb84ef',
    500: '#af4ae6',
    950: '#000000',
  },
}
SCSS
$custom: #af4ae6;
$custom-light: #cb84ef;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ae6",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 278.846,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61081,
    "c": 0.23105,
    "h": 311.1
  },
  "luminance": 0.19725
}

Semantic roles & 50–950 ramp

primary
#AF4AE6
secondary
#BDE4A8
accent
#F23578
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #AF4AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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