#AF4CE6#AF4CE6

#AF4CE6 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.3% C 0.229 H 310.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AF4CE6
RGBrgb(175, 76, 230)
HSLhsl(279, 75%, 60%)
HSVhsv(279, 67%, 90%)
CMYKcmyk(23.9%, 67%, 0%, 9.8%)
CIE-LABlab(51.83, 64.43, -61.14)
CIE-LCHlch(51.83, 88.83, 316.50°)
OKLaboklab(61.3% 0.1498 -0.1727)
OKLCHoklch(61.3% 0.229 310.9)
XYZxyz(34.5439, 19.9968, 76.8876)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4CE6 #83E64C
analogous
#624CE6 #AF4CE6 #E64CD0
triadic
#AF4CE6 #E6AF4C #4CE6AF
tetradic
#AF4CE6 #E6624C #83E64C #4CD0E6
square
#AF4CE6 #E6624C #83E64C #4CD0E6
split-complementary
#AF4CE6 #D0E64C #4CE662
monochromatic
#7017A1 #951ED7 #AF4CE6 #C782ED #DFB7F5

Accessibility & contrast

On white

4.20
#AF4CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AF4CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4CE6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4CE6#FFFFFF#000000##000000
##AF4CE61.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#387DE3
Tritanopia (blue-blind)
#A86C93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #af4ce6;
/* rgb */ color: rgb(175, 76, 230);
/* oklch */ color: oklch(61.3% 0.229 310.9);
Tailwind
colors: {
  custom: {
    50: '#cb85ef',
    500: '#af4ce6',
    950: '#000000',
  },
}
SCSS
$custom: #af4ce6;
$custom-light: #cb85ef;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ce6",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 230
  },
  "hsl": {
    "h": 278.571,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.61302,
    "c": 0.22859,
    "h": 310.9
  },
  "luminance": 0.19996
}

Semantic roles & 50–950 ramp

primary
#AF4CE6
secondary
#BEE5A9
accent
#F23679
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF4CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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