#C7B7EA#C7B7EA

#C7B7EA is a light, moderate violet. Relative luminance 0.519; OKLCH L 81.0% C 0.073 H 299.1°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#C7B7EA
RGBrgb(199, 183, 234)
HSLhsl(259, 55%, 82%)
HSVhsv(259, 22%, 92%)
CMYKcmyk(15%, 21.8%, 0%, 8.2%)
CIE-LABlab(77.25, 15.56, -23.33)
CIE-LCHlch(77.25, 28.04, 303.69°)
OKLaboklab(80.98% 0.0355 -0.0636)
OKLCHoklch(80.98% 0.073 299.1)
XYZxyz(55.3349, 51.9494, 84.9380)
Luminance0.5195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B7EA #DAEAB7
analogous
#B7C1EA #C7B7EA #E1B7EA
triadic
#C7B7EA #EAC7B7 #B7EAC7
tetradic
#C7B7EA #EAB7C1 #DAEAB7 #B7EAE1
square
#C7B7EA #EAB7C1 #DAEAB7 #B7EAE1
split-complementary
#C7B7EA #EAE1B7 #C1EAB7
monochromatic
#7D58CE #A288DC #C7B7EA #ECE6F8 #EDE7F8

Accessibility & contrast

On white

1.84
#C7B7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#C7B7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B7EA
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B7EA#FFFFFF#000000##000000
##C7B7EA1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADBFEC
Deuteranopia (green-blind)
#AFBEE8
Tritanopia (blue-blind)
#C1BEC8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c7b7ea;
/* rgb */ color: rgb(199, 183, 234);
/* oklch */ color: oklch(81.0% 0.073 299.1);
Tailwind
colors: {
  custom: {
    50: '#d8ccf0',
    500: '#c7b7ea',
    950: '#000000',
  },
}
SCSS
$custom: #c7b7ea;
$custom-light: #d8ccf0;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b7ea",
  "rgb": {
    "r": 199,
    "g": 183,
    "b": 234
  },
  "hsl": {
    "h": 258.824,
    "s": 54.839,
    "l": 81.765
  },
  "oklch": {
    "l": 0.80982,
    "c": 0.07284,
    "h": 299.1
  },
  "luminance": 0.5195
}

Semantic roles & 50–950 ramp

primary
#C7B7EA
secondary
#B0C67F
accent
#C22390
background
#FEFEFF
surface
#FBFAFE
border
#D4D3D6
text
#141316
muted
#838385

Preview Lab

Preview with #C7B7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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