#B297CD#B297CD

#B297CD is a light, moderate violet. Relative luminance 0.360; OKLCH L 71.9% C 0.082 H 307.2°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#B297CD
RGBrgb(178, 151, 205)
HSLhsl(270, 35%, 70%)
HSVhsv(270, 26%, 80%)
CMYKcmyk(13.2%, 26.3%, 0%, 19.6%)
CIE-LABlab(66.52, 20.37, -23.99)
CIE-LCHlch(66.52, 31.47, 310.33°)
OKLaboklab(71.93% 0.0497 -0.0655)
OKLCHoklch(71.93% 0.082 307.2)
XYZxyz(40.4441, 36.0062, 62.5650)
Luminance0.3601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B297CD #B2CD97
analogous
#9797CD #B297CD #CD97CD
triadic
#B297CD #CDB297 #97CDB2
tetradic
#B297CD #CD9797 #B2CD97 #97CDCD
square
#B297CD #CD9797 #B2CD97 #97CDCD
split-complementary
#B297CD #CDCD97 #97CD97
monochromatic
#754C9E #936EB9 #B297CD #D1C0E1 #EFEAF5

Accessibility & contrast

On white

2.56
#B297CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#B297CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B297CD
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B297CD#FFFFFF#000000##000000
##B297CD1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA1CF
Deuteranopia (green-blind)
#93A2CB
Tritanopia (blue-blind)
#AF9EAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b297cd;
/* rgb */ color: rgb(178, 151, 205);
/* oklch */ color: oklch(71.9% 0.082 307.2);
Tailwind
colors: {
  custom: {
    50: '#c9b5dc',
    500: '#b297cd',
    950: '#000000',
  },
}
SCSS
$custom: #b297cd;
$custom-light: #c9b5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b297cd",
  "rgb": {
    "r": 178,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 270,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71933,
    "c": 0.08227,
    "h": 307.2
  },
  "luminance": 0.36006
}

Semantic roles & 50–950 ramp

primary
#B297CD
secondary
#E0E8D8
accent
#AE3873
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B297CD

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

Preview Lab → · Contrast checker → · Palette generator →

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