#BAAFEB#BAAFEB

#BAAFEB is a light, moderate violet. Relative luminance 0.471; OKLCH L 78.4% C 0.085 H 292.7°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#BAAFEB
RGBrgb(186, 175, 235)
HSLhsl(251, 60%, 80%)
HSVhsv(251, 26%, 92%)
CMYKcmyk(20.9%, 25.5%, 0%, 7.8%)
CIE-LABlab(74.25, 16.14, -28.55)
CIE-LCHlch(74.25, 32.80, 299.48°)
OKLaboklab(78.42% 0.0329 -0.0785)
OKLCHoklch(78.42% 0.085 292.7)
XYZxyz(50.5716, 47.0967, 85.0074)
Luminance0.4710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAFEB #E0EBAF
analogous
#AFC2EB #BAAFEB #D8AFEB
triadic
#BAAFEB #EBBAAF #AFEBBA
tetradic
#BAAFEB #EBAFC2 #E0EBAF #AFEBD8
square
#BAAFEB #EBAFC2 #E0EBAF #AFEBD8
split-complementary
#BAAFEB #EBD8AF #C2EBAF
monochromatic
#664DD3 #907EDF #BAAFEB #E4E0F7 #EAE7F9

Accessibility & contrast

On white

2.02
#BAAFEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#BAAFEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAFEB
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAFEB#FFFFFF#000000##000000
##BAAFEB1.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1B7EE
Deuteranopia (green-blind)
#A2B6E9
Tritanopia (blue-blind)
#B0B9C4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #baafeb;
/* rgb */ color: rgb(186, 175, 235);
/* oklch */ color: oklch(78.4% 0.085 292.7);
Tailwind
colors: {
  custom: {
    50: '#cfc6f1',
    500: '#baafeb',
    950: '#000000',
  },
}
SCSS
$custom: #baafeb;
$custom-light: #cfc6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#baafeb",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 235
  },
  "hsl": {
    "h": 251,
    "s": 60,
    "l": 80.392
  },
  "oklch": {
    "l": 0.78419,
    "c": 0.08508,
    "h": 292.7
  },
  "luminance": 0.47097
}

Semantic roles & 50–950 ramp

primary
#BAAFEB
secondary
#ECF0DB
accent
#C81EA9
background
#FCFCFE
surface
#F9F8FD
border
#D2D1D5
text
#141316
muted
#828284

Preview Lab

Preview with #BAAFEB

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

Preview Lab → · Contrast checker → · Palette generator →

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