#C8B7FF#C8B7FF

#C8B7FF is a light, moderate violet. Relative luminance 0.534; OKLCH L 81.9% C 0.101 H 294.9°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#C8B7FF
RGBrgb(200, 183, 255)
HSLhsl(254, 100%, 86%)
HSVhsv(254, 28%, 100%)
CMYKcmyk(21.6%, 28.2%, 0%, 0%)
CIE-LABlab(78.09, 20.47, -33.34)
CIE-LCHlch(78.09, 39.12, 301.56°)
OKLaboklab(81.9% 0.0427 -0.0919)
OKLCHoklch(81.9% 0.101 294.9)
XYZxyz(58.7988, 53.3658, 101.7912)
Luminance0.5337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B7FF #EEFFB7
analogous
#B7CAFF #C8B7FF #ECB7FF
triadic
#C8B7FF #FFC8B7 #B7FFC8
tetradic
#C8B7FF #FFB7CA #EEFFB7 #B7FFEC
square
#C8B7FF #FFB7CA #EEFFB7 #B7FFEC
split-complementary
#C8B7FF #FFECB7 #CAFFB7
monochromatic
#6A3DFF #997AFF #C8B7FF #E8E0FF #E8E0FF

Accessibility & contrast

On white

1.80
#C8B7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#C8B7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B7FF
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B7FF#FFFFFF#000000##000000
##C8B7FF1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6C2FF
Deuteranopia (green-blind)
#A8C0FD
Tritanopia (blue-blind)
#BDC3D0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c8b7ff;
/* rgb */ color: rgb(200, 183, 255);
/* oklch */ color: oklch(81.9% 0.101 294.9);
Tailwind
colors: {
  custom: {
    50: '#d9ccff',
    500: '#c8b7ff',
    950: '#000000',
  },
}
SCSS
$custom: #c8b7ff;
$custom-light: #d9ccff;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b7ff",
  "rgb": {
    "r": 200,
    "g": 183,
    "b": 255
  },
  "hsl": {
    "h": 254.167,
    "s": 100,
    "l": 85.882
  },
  "oklch": {
    "l": 0.81901,
    "c": 0.1013,
    "h": 294.9
  },
  "luminance": 0.53366
}

Semantic roles & 50–950 ramp

primary
#C8B7FF
secondary
#CBE674
accent
#E600AF
background
#FEFEFF
surface
#FBFAFF
border
#D4D3D7
text
#151318
muted
#848386

Preview Lab

Preview with #C8B7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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