#AF7CFA#AF7CFA

#AF7CFA is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.1% C 0.183 H 300.4°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#AF7CFA
RGBrgb(175, 124, 250)
HSLhsl(264, 93%, 73%)
HSVhsv(264, 50%, 98%)
CMYKcmyk(30%, 50.4%, 0%, 2%)
CIE-LABlab(62.02, 44.94, -55.97)
CIE-LCHlch(62.02, 71.78, 308.77°)
OKLaboklab(69.12% 0.0924 -0.1577)
OKLCHoklch(69.12% 0.183 300.4)
XYZxyz(42.1381, 30.4312, 94.0778)
Luminance0.3043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7CFA #C7FA7C
analogous
#7C88FA #AF7CFA #EE7CFA
triadic
#AF7CFA #FAAF7C #7CFAAF
tetradic
#AF7CFA #FA7C88 #C7FA7C #7CFAEE
square
#AF7CFA #FA7C88 #C7FA7C #7CFAEE
split-complementary
#AF7CFA #FAEE7C #88FA7C
monochromatic
#6809F2 #8B41F8 #AF7CFA #D3B7FC #EDE2FE

Accessibility & contrast

On white

2.96
#AF7CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#AF7CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF7CFA
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7CFA#FFFFFF#000000##000000
##AF7CFA1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FE
Deuteranopia (green-blind)
#5E95F7
Tritanopia (blue-blind)
#A094B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af7cfa;
/* rgb */ color: rgb(175, 124, 250);
/* oklch */ color: oklch(69.1% 0.183 300.4);
Tailwind
colors: {
  custom: {
    50: '#caa3fc',
    500: '#af7cfa',
    950: '#000000',
  },
}
SCSS
$custom: #af7cfa;
$custom-light: #caa3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af7cfa",
  "rgb": {
    "r": 175,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 264.286,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69122,
    "c": 0.18276,
    "h": 300.4
  },
  "luminance": 0.30431
}

Semantic roles & 50–950 ramp

primary
#AF7CFA
secondary
#E9F6D5
accent
#E60089
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #AF7CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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