#C7A3FB#C7A3FB

#C7A3FB is a light, vivid violet. Relative luminance 0.453; OKLCH L 78.0% C 0.128 H 302.3°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#C7A3FB
RGBrgb(199, 163, 251)
HSLhsl(265, 92%, 81%)
HSVhsv(265, 35%, 98%)
CMYKcmyk(20.7%, 35.1%, 0%, 1.6%)
CIE-LABlab(73.09, 30.26, -38.93)
CIE-LCHlch(73.09, 49.31, 307.85°)
OKLaboklab(78% 0.0683 -0.1078)
OKLCHoklch(78% 0.128 302.3)
XYZxyz(54.0593, 45.3015, 97.1442)
Luminance0.4530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A3FB #D7FBA3
analogous
#A3ABFB #C7A3FB #F3A3FB
triadic
#C7A3FB #FBC7A3 #A3FBC7
tetradic
#C7A3FB #FBA3AB #D7FBA3 #A3FBF3
square
#C7A3FB #FBA3AB #D7FBA3 #A3FBF3
split-complementary
#C7A3FB #FBF3A3 #ABFBA3
monochromatic
#802EF6 #A368F8 #C7A3FB #EBDEFE #EDE2FE

Accessibility & contrast

On white

2.09
#C7A3FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#C7A3FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A3FB
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A3FB#FFFFFF#000000##000000
##C7A3FB1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB3FE
Deuteranopia (green-blind)
#96B3F9
Tritanopia (blue-blind)
#BEB1C4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c7a3fb;
/* rgb */ color: rgb(199, 163, 251);
/* oklch */ color: oklch(78.0% 0.128 302.3);
Tailwind
colors: {
  custom: {
    50: '#d9befd',
    500: '#c7a3fb',
    950: '#000000',
  },
}
SCSS
$custom: #c7a3fb;
$custom-light: #d9befd;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a3fb",
  "rgb": {
    "r": 199,
    "g": 163,
    "b": 251
  },
  "hsl": {
    "h": 264.545,
    "s": 91.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.77999,
    "c": 0.12763,
    "h": 302.3
  },
  "luminance": 0.45302
}

Semantic roles & 50–950 ramp

primary
#C7A3FB
secondary
#E8F6D5
accent
#E60088
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C7A3FB

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

Preview Lab → · Contrast checker → · Palette generator →

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