#AF90EA#AF90EA

#AF90EA is a light, vivid violet. Relative luminance 0.350; OKLCH L 71.7% C 0.131 H 298.9°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#AF90EA
RGBrgb(175, 144, 234)
HSLhsl(261, 68%, 74%)
HSVhsv(261, 38%, 92%)
CMYKcmyk(25.2%, 38.5%, 0%, 8.2%)
CIE-LABlab(65.75, 29.98, -41.27)
CIE-LCHlch(65.75, 51.01, 305.99°)
OKLaboklab(71.67% 0.0635 -0.1149)
OKLCHoklch(71.67% 0.131 298.9)
XYZxyz(42.5003, 35.0007, 82.3427)
Luminance0.3500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF90EA #CBEA90
analogous
#909EEA #AF90EA #DC90EA
triadic
#AF90EA #EAAF90 #90EAAF
tetradic
#AF90EA #EA909E #CBEA90 #90EADC
square
#AF90EA #EA909E #CBEA90 #90EADC
split-complementary
#AF90EA #EADC90 #9EEA90
monochromatic
#6529D7 #8A5DE0 #AF90EA #D4C3F4 #ECE5FA

Accessibility & contrast

On white

2.62
#AF90EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#AF90EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF90EA
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF90EA#FFFFFF#000000##000000
##AF90EA1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0ED
Deuteranopia (green-blind)
#7E9FE8
Tritanopia (blue-blind)
#A49FB2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #af90ea;
/* rgb */ color: rgb(175, 144, 234);
/* oklch */ color: oklch(71.7% 0.131 298.9);
Tailwind
colors: {
  custom: {
    50: '#c8b1f1',
    500: '#af90ea',
    950: '#000000',
  },
}
SCSS
$custom: #af90ea;
$custom-light: #c8b1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af90ea",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 234
  },
  "hsl": {
    "h": 260.667,
    "s": 68.182,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71665,
    "c": 0.13131,
    "h": 298.9
  },
  "luminance": 0.35001
}

Semantic roles & 50–950 ramp

primary
#AF90EA
secondary
#E9F2D9
accent
#D01590
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131017
muted
#827F85

Preview Lab

Preview with #AF90EA

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

Preview Lab → · Contrast checker → · Palette generator →

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