#C5B8FA#C5B8FA

#C5B8FA is a light, moderate violet. Relative luminance 0.531; OKLCH L 81.6% C 0.093 H 293.3°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#C5B8FA
RGBrgb(197, 184, 250)
HSLhsl(252, 87%, 85%)
HSVhsv(252, 26%, 98%)
CMYKcmyk(21.2%, 26.4%, 0%, 2%)
CIE-LABlab(77.91, 17.91, -30.96)
CIE-LCHlch(77.91, 35.76, 300.05°)
OKLaboklab(81.64% 0.0366 -0.0852)
OKLCHoklch(81.64% 0.093 293.3)
XYZxyz(57.4178, 53.0528, 97.6391)
Luminance0.5305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B8FA #EDFAB8
analogous
#B8CCFA #C5B8FA #E6B8FA
triadic
#C5B8FA #FAC5B8 #B8FAC5
tetradic
#C5B8FA #FAB8CC #EDFAB8 #B8FAE6
square
#C5B8FA #FAB8CC #EDFAB8 #B8FAE6
split-complementary
#C5B8FA #FAE6B8 #CCFAB8
monochromatic
#6846F2 #967FF6 #C5B8FA #E8E2FD #E8E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5B8FA#FFFFFF#000000##000000
##C5B8FA1.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)
#BAC3CF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c5b8fa;
/* rgb */ color: rgb(197, 184, 250);
/* oklch */ color: oklch(81.6% 0.093 293.3);
Tailwind
colors: {
  custom: {
    50: '#d7cdfc',
    500: '#c5b8fa',
    950: '#000000',
  },
}
SCSS
$custom: #c5b8fa;
$custom-light: #d7cdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b8fa",
  "rgb": {
    "r": 197,
    "g": 184,
    "b": 250
  },
  "hsl": {
    "h": 251.818,
    "s": 86.842,
    "l": 85.098
  },
  "oklch": {
    "l": 0.81638,
    "c": 0.09271,
    "h": 293.3
  },
  "luminance": 0.53053
}

Semantic roles & 50–950 ramp

primary
#C5B8FA
secondary
#CADE78
accent
#E302B7
background
#FEFEFF
surface
#FBFAFF
border
#D4D3D7
text
#141317
muted
#838385

Preview Lab

Preview with #C5B8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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