#BAAFE4#BAAFE4

#BAAFE4 is a light, moderate violet. Relative luminance 0.467; OKLCH L 78.1% C 0.075 H 294.1°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#BAAFE4
RGBrgb(186, 175, 228)
HSLhsl(252, 50%, 79%)
HSVhsv(252, 23%, 89%)
CMYKcmyk(18.4%, 23.2%, 0%, 10.6%)
CIE-LABlab(74.00, 14.57, -25.14)
CIE-LCHlch(74.00, 29.06, 300.10°)
OKLaboklab(78.14% 0.0308 -0.0688)
OKLCHoklch(78.14% 0.075 294.1)
XYZxyz(49.5802, 46.7001, 79.7857)
Luminance0.4670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAFE4 #D9E4AF
analogous
#AFBFE4 #BAAFE4 #D5AFE4
triadic
#BAAFE4 #E4BAAF #AFE4BA
tetradic
#BAAFE4 #E4AFBF #D9E4AF #AFE4D5
square
#BAAFE4 #E4AFBF #D9E4AF #AFE4D5
split-complementary
#BAAFE4 #E4D5AF #BFE4AF
monochromatic
#6B53C5 #9381D5 #BAAFE4 #E1DDF3 #EBE8F7

Accessibility & contrast

On white

2.03
#BAAFE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#BAAFE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAFE4
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAFE4#FFFFFF#000000##000000
##BAAFE41.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3B6E6
Deuteranopia (green-blind)
#A4B5E2
Tritanopia (blue-blind)
#B2B7C1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #baafe4;
/* rgb */ color: rgb(186, 175, 228);
/* oklch */ color: oklch(78.1% 0.075 294.1);
Tailwind
colors: {
  custom: {
    50: '#cfc6ec',
    500: '#baafe4',
    950: '#000000',
  },
}
SCSS
$custom: #baafe4;
$custom-light: #cfc6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#baafe4",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 228
  },
  "hsl": {
    "h": 252.453,
    "s": 49.533,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78138,
    "c": 0.0754,
    "h": 294.1
  },
  "luminance": 0.467
}

Semantic roles & 50–950 ramp

primary
#BAAFE4
secondary
#EBEEDD
accent
#BD299E
background
#FCFCFE
surface
#F9F8FD
border
#D2D1D5
text
#141316
muted
#828284

Preview Lab

Preview with #BAAFE4

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

Preview Lab → · Contrast checker → · Palette generator →

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