#C8BAF0#C8BAF0

#C8BAF0 is a light, moderate violet. Relative luminance 0.537; OKLCH L 81.9% C 0.076 H 296.6°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#C8BAF0
RGBrgb(200, 186, 240)
HSLhsl(256, 64%, 84%)
HSVhsv(256, 23%, 94%)
CMYKcmyk(16.7%, 22.5%, 0%, 5.9%)
CIE-LABlab(78.28, 15.52, -24.99)
CIE-LCHlch(78.28, 29.42, 301.85°)
OKLaboklab(81.87% 0.0341 -0.0683)
OKLCHoklch(81.87% 0.076 296.6)
XYZxyz(57.1031, 53.6881, 89.7756)
Luminance0.5369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BAF0 #E2F0BA
analogous
#BAC7F0 #C8BAF0 #E3BAF0
triadic
#C8BAF0 #F0C8BA #BAF0C8
tetradic
#C8BAF0 #F0BAC7 #E2F0BA #BAF0E3
square
#C8BAF0 #F0BAC7 #E2F0BA #BAF0E3
split-complementary
#C8BAF0 #F0E3BA #C7F0BA
monochromatic
#7855DA #A088E5 #C8BAF0 #EBE6FA #EBE6FA

Accessibility & contrast

On white

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

On black

11.74
#C8BAF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BAF0
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BAF0#FFFFFF#000000##000000
##C8BAF01.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFC2F2
Deuteranopia (green-blind)
#B0C1EE
Tritanopia (blue-blind)
#C1C2CC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8baf0;
/* rgb */ color: rgb(200, 186, 240);
/* oklch */ color: oklch(81.9% 0.076 296.6);
Tailwind
colors: {
  custom: {
    50: '#d9cef5',
    500: '#c8baf0',
    950: '#000000',
  },
}
SCSS
$custom: #c8baf0;
$custom-light: #d9cef5;
$custom-dark: #000000;
JSON
{
  "hex": "#c8baf0",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 240
  },
  "hsl": {
    "h": 255.556,
    "s": 64.286,
    "l": 83.529
  },
  "oklch": {
    "l": 0.81867,
    "c": 0.07634,
    "h": 296.6
  },
  "luminance": 0.53688
}

Semantic roles & 50–950 ramp

primary
#C8BAF0
secondary
#BACF80
accent
#CC199E
background
#FEFEFF
surface
#FBFBFE
border
#D4D4D6
text
#141317
muted
#838385

Preview Lab

Preview with #C8BAF0

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

Preview Lab → · Contrast checker → · Palette generator →

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