#C7B2FF#C7B2FF

#C7B2FF is a light, moderate violet. Relative luminance 0.512; OKLCH L 80.9% C 0.109 H 296.4°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#C7B2FF
RGBrgb(199, 178, 255)
HSLhsl(256, 100%, 85%)
HSVhsv(256, 30%, 100%)
CMYKcmyk(22%, 30.2%, 0%, 0%)
CIE-LABlab(76.80, 22.92, -35.33)
CIE-LCHlch(76.80, 42.11, 302.97°)
OKLaboklab(80.89% 0.0485 -0.0976)
OKLCHoklch(80.89% 0.109 296.4)
XYZxyz(57.5195, 51.2024, 101.4411)
Luminance0.5120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B2FF #EAFFB2
analogous
#B2C3FF #C7B2FF #EEB2FF
triadic
#C7B2FF #FFC7B2 #B2FFC7
tetradic
#C7B2FF #FFB2C3 #EAFFB2 #B2FFEE
square
#C7B2FF #FFB2C3 #EAFFB2 #B2FFEE
split-complementary
#C7B2FF #FFEEB2 #C3FFB2
monochromatic
#6E38FF #9A75FF #C7B2FF #E9E0FF #E9E0FF

Accessibility & contrast

On white

1.87
#C7B2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#C7B2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B2FF
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B2FF#FFFFFF#000000##000000
##C7B2FF1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BEFF
Deuteranopia (green-blind)
#A3BDFD
Tritanopia (blue-blind)
#BCBECE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c7b2ff;
/* rgb */ color: rgb(199, 178, 255);
/* oklch */ color: oklch(80.9% 0.109 296.4);
Tailwind
colors: {
  custom: {
    50: '#d9c9ff',
    500: '#c7b2ff',
    950: '#000000',
  },
}
SCSS
$custom: #c7b2ff;
$custom-light: #d9c9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b2ff",
  "rgb": {
    "r": 199,
    "g": 178,
    "b": 255
  },
  "hsl": {
    "h": 256.364,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.8089,
    "c": 0.10894,
    "h": 296.4
  },
  "luminance": 0.51203
}

Semantic roles & 50–950 ramp

primary
#C7B2FF
secondary
#C5E670
accent
#E600A7
background
#FEFDFF
surface
#FBF9FF
border
#D4D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #C7B2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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