#C7B8EA#C7B8EA

#C7B8EA is a light, moderate violet. Relative luminance 0.524; OKLCH L 81.2% C 0.071 H 298.5°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#C7B8EA
RGBrgb(199, 184, 234)
HSLhsl(258, 54%, 82%)
HSVhsv(258, 21%, 92%)
CMYKcmyk(15%, 21.4%, 0%, 8.2%)
CIE-LABlab(77.50, 15.01, -22.96)
CIE-LCHlch(77.50, 27.43, 303.18°)
OKLaboklab(81.17% 0.034 -0.0626)
OKLCHoklch(81.17% 0.071 298.5)
XYZxyz(55.5419, 52.3634, 85.0070)
Luminance0.5236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B8EA #DBEAB8
analogous
#B8C2EA #C7B8EA #E0B8EA
triadic
#C7B8EA #EAC7B8 #B8EAC7
tetradic
#C7B8EA #EAB8C2 #DBEAB8 #B8EAE0
square
#C7B8EA #EAB8C2 #DBEAB8 #B8EAE0
split-complementary
#C7B8EA #EAE0B8 #C2EAB8
monochromatic
#7C5ACE #A289DC #C7B8EA #ECE7F8 #ECE7F8

Accessibility & contrast

On white

1.83
#C7B8EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#C7B8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B8EA
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B8EA#FFFFFF#000000##000000
##C7B8EA1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEBFEC
Deuteranopia (green-blind)
#B0BFE9
Tritanopia (blue-blind)
#C1BFC9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c7b8ea;
/* rgb */ color: rgb(199, 184, 234);
/* oklch */ color: oklch(81.2% 0.071 298.5);
Tailwind
colors: {
  custom: {
    50: '#d8cdf0',
    500: '#c7b8ea',
    950: '#000000',
  },
}
SCSS
$custom: #c7b8ea;
$custom-light: #d8cdf0;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b8ea",
  "rgb": {
    "r": 199,
    "g": 184,
    "b": 234
  },
  "hsl": {
    "h": 258,
    "s": 54.348,
    "l": 81.961
  },
  "oklch": {
    "l": 0.81174,
    "c": 0.07124,
    "h": 298.5
  },
  "luminance": 0.52364
}

Semantic roles & 50–950 ramp

primary
#C7B8EA
secondary
#B1C680
accent
#C22492
background
#FEFEFF
surface
#FBFAFE
border
#D4D3D6
text
#141316
muted
#838385

Preview Lab

Preview with #C7B8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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