#AFAAFA#AFAAFA

#AFAAFA is a light, moderate blue. Relative luminance 0.448; OKLCH L 77.2% C 0.113 H 286.3°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#AFAAFA
RGBrgb(175, 170, 250)
HSLhsl(244, 89%, 82%)
HSVhsv(244, 32%, 98%)
CMYKcmyk(30%, 32%, 0%, 2%)
CIE-LABlab(72.74, 19.26, -39.09)
CIE-LCHlch(72.74, 43.58, 296.23°)
OKLaboklab(77.23% 0.0318 -0.1087)
OKLCHoklch(77.23% 0.113 286.3)
XYZxyz(49.3047, 44.7644, 96.4666)
Luminance0.4477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAFA #F5FAAA
analogous
#AACDFA #AFAAFA #D7AAFA
triadic
#AFAAFA #FAAFAA #AAFAAF
tetradic
#AFAAFA #FAAACD #F5FAAA #AAFAD7
square
#AFAAFA #FAAACD #F5FAAA #AAFAD7
split-complementary
#AFAAFA #FAD7AA #CDFAAA
monochromatic
#4236F3 #7970F7 #AFAAFA #E4E2FD #E4E2FD

Accessibility & contrast

On white

2.11
#AFAAFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#AFAAFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAAFA
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAAFA#FFFFFF#000000##000000
##AFAAFA1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B5FD
Deuteranopia (green-blind)
#92B0F8
Tritanopia (blue-blind)
#9DB8C7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afaafa;
/* rgb */ color: rgb(175, 170, 250);
/* oklch */ color: oklch(77.2% 0.113 286.3);
Tailwind
colors: {
  custom: {
    50: '#c8c3fc',
    500: '#afaafa',
    950: '#000000',
  },
}
SCSS
$custom: #afaafa;
$custom-light: #c8c3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#afaafa",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 250
  },
  "hsl": {
    "h": 243.75,
    "s": 88.889,
    "l": 82.353
  },
  "oklch": {
    "l": 0.77233,
    "c": 0.11327,
    "h": 286.3
  },
  "luminance": 0.44766
}

Semantic roles & 50–950 ramp

primary
#AFAAFA
secondary
#F3F5D6
accent
#E600D7
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFAAFA

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

Preview Lab → · Contrast checker → · Palette generator →

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