#BAAFE2#BAAFE2

#BAAFE2 is a light, moderate violet. Relative luminance 0.466; OKLCH L 78.1% C 0.073 H 294.6°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#BAAFE2
RGBrgb(186, 175, 226)
HSLhsl(253, 47%, 79%)
HSVhsv(253, 23%, 89%)
CMYKcmyk(17.7%, 22.6%, 0%, 11.4%)
CIE-LABlab(73.93, 14.13, -24.16)
CIE-LCHlch(73.93, 27.99, 300.32°)
OKLaboklab(78.06% 0.0302 -0.0661)
OKLCHoklch(78.06% 0.073 294.6)
XYZxyz(49.3041, 46.5897, 78.3319)
Luminance0.4659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAFE2 #D7E2AF
analogous
#AFBDE2 #BAAFE2 #D3AFE2
triadic
#BAAFE2 #E2BAAF #AFE2BA
tetradic
#BAAFE2 #E2AFBD #D7E2AF #AFE2D3
square
#BAAFE2 #E2AFBD #D7E2AF #AFE2D3
split-complementary
#BAAFE2 #E2D3AF #BDE2AF
monochromatic
#6D55C1 #9382D2 #BAAFE2 #E1DCF2 #ECE9F7

Accessibility & contrast

On white

2.04
#BAAFE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#BAAFE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAFE2
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAFE2#FFFFFF#000000##000000
##BAAFE21.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4B6E4
Deuteranopia (green-blind)
#A5B5E1
Tritanopia (blue-blind)
#B2B7C0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #baafe2;
/* rgb */ color: rgb(186, 175, 226);
/* oklch */ color: oklch(78.1% 0.073 294.6);
Tailwind
colors: {
  custom: {
    50: '#cfc6eb',
    500: '#baafe2',
    950: '#000000',
  },
}
SCSS
$custom: #baafe2;
$custom-light: #cfc6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#baafe2",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 226
  },
  "hsl": {
    "h": 252.941,
    "s": 46.789,
    "l": 78.627
  },
  "oklch": {
    "l": 0.7806,
    "c": 0.07264,
    "h": 294.6
  },
  "luminance": 0.4659
}

Semantic roles & 50–950 ramp

primary
#BAAFE2
secondary
#EAEEDD
accent
#BA2B9B
background
#FCFCFE
surface
#F9F8FD
border
#D2D1D5
text
#141316
muted
#828284

Preview Lab

Preview with #BAAFE2

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

Preview Lab → · Contrast checker → · Palette generator →

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