#AF5CF3#AF5CF3

#AF5CF3 is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.1% C 0.221 H 306.5°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AF5CF3
RGBrgb(175, 92, 243)
HSLhsl(273, 86%, 66%)
HSVhsv(273, 62%, 95%)
CMYKcmyk(28%, 62.1%, 0%, 4.7%)
CIE-LABlab(55.32, 59.90, -62.82)
CIE-LCHlch(55.32, 86.80, 313.64°)
OKLaboklab(64.07% 0.1313 -0.1777)
OKLCHoklch(64.07% 0.221 306.5)
XYZxyz(37.6806, 23.2397, 87.2773)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5CF3 #A0F35C
analogous
#635CF3 #AF5CF3 #F35CEC
triadic
#AF5CF3 #F3AF5C #5CF3AF
tetradic
#AF5CF3 #F3635C #A0F35C #5CECF3
square
#AF5CF3 #F3635C #A0F35C #5CECF3
split-complementary
#AF5CF3 #ECF35C #5CF363
monochromatic
#730FC6 #9323EF #AF5CF3 #CB95F7 #E7CEFB

Accessibility & contrast

On white

3.72
#AF5CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#AF5CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5CF3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5CF3#FFFFFF#000000##000000
##AF5CF31.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F8
Deuteranopia (green-blind)
#3C85F0
Tritanopia (blue-blind)
#A47B9F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af5cf3;
/* rgb */ color: rgb(175, 92, 243);
/* oklch */ color: oklch(64.1% 0.221 306.5);
Tailwind
colors: {
  custom: {
    50: '#cb8ef8',
    500: '#af5cf3',
    950: '#000000',
  },
}
SCSS
$custom: #af5cf3;
$custom-light: #cb8ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#af5cf3",
  "rgb": {
    "r": 175,
    "g": 92,
    "b": 243
  },
  "hsl": {
    "h": 272.98,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64072,
    "c": 0.22091,
    "h": 306.5
  },
  "luminance": 0.23239
}

Semantic roles & 50–950 ramp

primary
#AF5CF3
secondary
#D3EFBC
accent
#E30368
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF5CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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