#AF65F2#AF65F2

#AF65F2 is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.2% C 0.207 H 305.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AF65F2
RGBrgb(175, 101, 242)
HSLhsl(271, 84%, 67%)
HSVhsv(271, 58%, 95%)
CMYKcmyk(27.7%, 58.3%, 0%, 5.1%)
CIE-LABlab(56.91, 55.22, -59.71)
CIE-LCHlch(56.91, 81.32, 312.76°)
OKLaboklab(65.21% 0.1207 -0.1686)
OKLCHoklch(65.21% 0.207 305.6)
XYZxyz(38.3564, 24.8324, 86.7596)
Luminance0.2483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65F2 #A8F265
analogous
#6865F2 #AF65F2 #F265EF
triadic
#AF65F2 #F2AF65 #65F2AF
tetradic
#AF65F2 #F26865 #A8F265 #65EFF2
square
#AF65F2 #F26865 #A8F265 #65EFF2
split-complementary
#AF65F2 #EFF265 #65F268
monochromatic
#7311CB #922DED #AF65F2 #CC9DF7 #EAD6FC

Accessibility & contrast

On white

3.52
#AF65F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#AF65F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65F2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65F2#FFFFFF#000000##000000
##AF65F21.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2786F7
Deuteranopia (green-blind)
#4989EF
Tritanopia (blue-blind)
#A481A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af65f2;
/* rgb */ color: rgb(175, 101, 242);
/* oklch */ color: oklch(65.2% 0.207 305.6);
Tailwind
colors: {
  custom: {
    50: '#cb94f7',
    500: '#af65f2',
    950: '#000000',
  },
}
SCSS
$custom: #af65f2;
$custom-light: #cb94f7;
$custom-dark: #000000;
JSON
{
  "hex": "#af65f2",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 242
  },
  "hsl": {
    "h": 271.489,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65211,
    "c": 0.20735,
    "h": 305.6
  },
  "luminance": 0.24832
}

Semantic roles & 50–950 ramp

primary
#AF65F2
secondary
#D8F0C3
accent
#E1056D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF65F2

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

Preview Lab → · Contrast checker → · Palette generator →

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