#C7B8FA#C7B8FA

#C7B8FA is a light, moderate violet. Relative luminance 0.533; OKLCH L 81.8% C 0.093 H 294.7°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#C7B8FA
RGBrgb(199, 184, 250)
HSLhsl(254, 87%, 85%)
HSVhsv(254, 26%, 98%)
CMYKcmyk(20.4%, 26.4%, 0%, 2%)
CIE-LABlab(78.07, 18.51, -30.70)
CIE-LCHlch(78.07, 35.84, 301.08°)
OKLaboklab(81.8% 0.0388 -0.0844)
OKLCHoklch(81.8% 0.093 294.7)
XYZxyz(57.9451, 53.3247, 97.6639)
Luminance0.5333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B8FA #EBFAB8
analogous
#B8CAFA #C7B8FA #E8B8FA
triadic
#C7B8FA #FAC7B8 #B8FAC7
tetradic
#C7B8FA #FAB8CA #EBFAB8 #B8FAE8
square
#C7B8FA #FAB8CA #EBFAB8 #B8FAE8
split-complementary
#C7B8FA #FAE8B8 #CAFAB8
monochromatic
#6D46F2 #9A7FF6 #C7B8FA #E8E2FD #E8E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7B8FA#FFFFFF#000000##000000
##C7B8FA1.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)
#A9C2FD
Deuteranopia (green-blind)
#AAC0F8
Tritanopia (blue-blind)
#BDC2CF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c7b8fa;
/* rgb */ color: rgb(199, 184, 250);
/* oklch */ color: oklch(81.8% 0.093 294.7);
Tailwind
colors: {
  custom: {
    50: '#d8cdfc',
    500: '#c7b8fa',
    950: '#000000',
  },
}
SCSS
$custom: #c7b8fa;
$custom-light: #d8cdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b8fa",
  "rgb": {
    "r": 199,
    "g": 184,
    "b": 250
  },
  "hsl": {
    "h": 253.636,
    "s": 86.842,
    "l": 85.098
  },
  "oklch": {
    "l": 0.81801,
    "c": 0.09289,
    "h": 294.7
  },
  "luminance": 0.53325
}

Semantic roles & 50–950 ramp

primary
#C7B8FA
secondary
#C7DE78
accent
#E302B0
background
#FEFEFF
surface
#FBFAFF
border
#D4D3D7
text
#141317
muted
#838385

Preview Lab

Preview with #C7B8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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