#C8B7FA#C8B7FA

#C8B7FA is a light, moderate violet. Relative luminance 0.530; OKLCH L 81.7% C 0.095 H 295.9°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#C8B7FA
RGBrgb(200, 183, 250)
HSLhsl(255, 87%, 85%)
HSVhsv(255, 27%, 98%)
CMYKcmyk(20%, 26.8%, 0%, 2%)
CIE-LABlab(77.90, 19.35, -30.94)
CIE-LCHlch(77.90, 36.49, 302.03°)
OKLaboklab(81.69% 0.0413 -0.0851)
OKLCHoklch(81.69% 0.095 295.9)
XYZxyz(58.0044, 53.0480, 97.6073)
Luminance0.5305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B7FA #E9FAB7
analogous
#B7C8FA #C8B7FA #EAB7FA
triadic
#C8B7FA #FAC8B7 #B7FAC8
tetradic
#C8B7FA #FAB7C8 #E9FAB7 #B7FAEA
square
#C8B7FA #FAB7C8 #E9FAB7 #B7FAEA
split-complementary
#C8B7FA #FAEAB7 #C8FAB7
monochromatic
#7145F2 #9C7EF6 #C8B7FA #E9E2FD #E9E2FD

Accessibility & contrast

On white

1.81
#C8B7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#C8B7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B7FA
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B7FA#FFFFFF#000000##000000
##C8B7FA1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8C1FD
Deuteranopia (green-blind)
#AAC0F8
Tritanopia (blue-blind)
#BEC2CF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c8b7fa;
/* rgb */ color: rgb(200, 183, 250);
/* oklch */ color: oklch(81.7% 0.095 295.9);
Tailwind
colors: {
  custom: {
    50: '#d9ccfc',
    500: '#c8b7fa',
    950: '#000000',
  },
}
SCSS
$custom: #c8b7fa;
$custom-light: #d9ccfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b7fa",
  "rgb": {
    "r": 200,
    "g": 183,
    "b": 250
  },
  "hsl": {
    "h": 255.224,
    "s": 87.013,
    "l": 84.902
  },
  "oklch": {
    "l": 0.81695,
    "c": 0.09455,
    "h": 295.9
  },
  "luminance": 0.53048
}

Semantic roles & 50–950 ramp

primary
#C8B7FA
secondary
#C4DE77
accent
#E402AA
background
#FEFEFF
surface
#FBFAFF
border
#D4D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #C8B7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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