#BAAFDB#BAAFDB

#BAAFDB is a light, moderate violet. Relative luminance 0.462; OKLCH L 77.8% C 0.063 H 296.4°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#BAAFDB
RGBrgb(186, 175, 219)
HSLhsl(255, 38%, 77%)
HSVhsv(255, 20%, 86%)
CMYKcmyk(15.1%, 20.1%, 0%, 14.1%)
CIE-LABlab(73.68, 12.61, -20.72)
CIE-LCHlch(73.68, 24.25, 301.32°)
OKLaboklab(77.79% 0.028 -0.0564)
OKLCHoklch(77.79% 0.063 296.4)
XYZxyz(48.3632, 46.2133, 73.3762)
Luminance0.4621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAFDB #D0DBAF
analogous
#AFBADB #BAAFDB #D0AFDB
triadic
#BAAFDB #DBBAAF #AFDBBA
tetradic
#BAAFDB #DBAFBA #D0DBAF #AFDBD0
square
#BAAFDB #DBAFBA #D0DBAF #AFDBD0
split-complementary
#BAAFDB #DBD0AF #BADBAF
monochromatic
#715BB5 #9685C8 #BAAFDB #DED9EE #EDEAF6

Accessibility & contrast

On white

2.05
#BAAFDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#BAAFDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAFDB
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAFDB#FFFFFF#000000##000000
##BAAFDB1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6B5DD
Deuteranopia (green-blind)
#A7B5DA
Tritanopia (blue-blind)
#B4B6BE
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baafdb;
/* rgb */ color: rgb(186, 175, 219);
/* oklch */ color: oklch(77.8% 0.063 296.4);
Tailwind
colors: {
  custom: {
    50: '#cfc6e6',
    500: '#baafdb',
    950: '#000000',
  },
}
SCSS
$custom: #baafdb;
$custom-light: #cfc6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#baafdb",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 219
  },
  "hsl": {
    "h": 255,
    "s": 37.931,
    "l": 77.255
  },
  "oklch": {
    "l": 0.77791,
    "c": 0.06297,
    "h": 296.4
  },
  "luminance": 0.46214
}

Semantic roles & 50–950 ramp

primary
#BAAFDB
secondary
#E9ECDF
accent
#B13592
background
#FCFCFE
surface
#F9F8FC
border
#D2D1D5
text
#131316
muted
#828284

Preview Lab

Preview with #BAAFDB

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

Preview Lab → · Contrast checker → · Palette generator →

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