#C8BAF2#C8BAF2

#C8BAF2 is a light, moderate violet. Relative luminance 0.538; OKLCH L 81.9% C 0.079 H 296.1°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#C8BAF2
RGBrgb(200, 186, 242)
HSLhsl(255, 68%, 84%)
HSVhsv(255, 23%, 95%)
CMYKcmyk(17.4%, 23.1%, 0%, 5.1%)
CIE-LABlab(78.35, 15.96, -25.96)
CIE-LCHlch(78.35, 30.47, 301.58°)
OKLaboklab(81.94% 0.0348 -0.071)
OKLCHoklch(81.94% 0.079 296.1)
XYZxyz(57.4019, 53.8076, 91.3490)
Luminance0.5381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BAF2 #E4F2BA
analogous
#BAC8F2 #C8BAF2 #E4BAF2
triadic
#C8BAF2 #F2C8BA #BAF2C8
tetradic
#C8BAF2 #F2BAC8 #E4F2BA #BAF2E4
square
#C8BAF2 #F2BAC8 #E4F2BA #BAF2E4
split-complementary
#C8BAF2 #F2E4BA #C8F2BA
monochromatic
#7653DF #9F87E8 #C8BAF2 #EAE5FA #EAE5FA

Accessibility & contrast

On white

1.79
#C8BAF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#C8BAF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BAF2
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BAF2#FFFFFF#000000##000000
##C8BAF21.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEC2F4
Deuteranopia (green-blind)
#B0C1F0
Tritanopia (blue-blind)
#C0C3CD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8baf2;
/* rgb */ color: rgb(200, 186, 242);
/* oklch */ color: oklch(81.9% 0.079 296.1);
Tailwind
colors: {
  custom: {
    50: '#d9cef6',
    500: '#c8baf2',
    950: '#000000',
  },
}
SCSS
$custom: #c8baf2;
$custom-light: #d9cef6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8baf2",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 242
  },
  "hsl": {
    "h": 255,
    "s": 68.293,
    "l": 83.922
  },
  "oklch": {
    "l": 0.81944,
    "c": 0.07906,
    "h": 296.1
  },
  "luminance": 0.53808
}

Semantic roles & 50–950 ramp

primary
#C8BAF2
secondary
#BDD27F
accent
#D015A1
background
#FEFEFF
surface
#FBFBFE
border
#D4D4D6
text
#141317
muted
#838385

Preview Lab

Preview with #C8BAF2

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

Preview Lab → · Contrast checker → · Palette generator →

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