#B296CF#B296CF

#B296CF is a light, moderate violet. Relative luminance 0.358; OKLCH L 71.8% C 0.087 H 306.7°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#B296CF
RGBrgb(178, 150, 207)
HSLhsl(269, 37%, 70%)
HSVhsv(269, 28%, 81%)
CMYKcmyk(14%, 27.5%, 0%, 18.8%)
CIE-LABlab(66.35, 21.36, -25.36)
CIE-LCHlch(66.35, 33.16, 310.10°)
OKLaboklab(71.83% 0.0518 -0.0694)
OKLCHoklch(71.83% 0.087 306.7)
XYZxyz(40.5268, 35.7829, 63.7912)
Luminance0.3578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296CF #B3CF96
analogous
#9696CF #B296CF #CF96CF
triadic
#B296CF #CFB296 #96CFB2
tetradic
#B296CF #CF9696 #B3CF96 #96CFCF
square
#B296CF #CF9696 #B3CF96 #96CFCF
split-complementary
#B296CF #CFCF96 #96CF96
monochromatic
#754AA1 #936CBC #B296CF #D1C0E2 #F0EAF5

Accessibility & contrast

On white

2.57
#B296CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#B296CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296CF
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296CF#FFFFFF#000000##000000
##B296CF1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA0D1
Deuteranopia (green-blind)
#91A2CD
Tritanopia (blue-blind)
#AE9EAA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b296cf;
/* rgb */ color: rgb(178, 150, 207);
/* oklch */ color: oklch(71.8% 0.087 306.7);
Tailwind
colors: {
  custom: {
    50: '#c9b5dd',
    500: '#b296cf',
    950: '#000000',
  },
}
SCSS
$custom: #b296cf;
$custom-light: #c9b5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b296cf",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 207
  },
  "hsl": {
    "h": 269.474,
    "s": 37.255,
    "l": 70
  },
  "oklch": {
    "l": 0.71826,
    "c": 0.0866,
    "h": 306.7
  },
  "luminance": 0.35783
}

Semantic roles & 50–950 ramp

primary
#B296CF
secondary
#E1E8D8
accent
#B03574
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B296CF

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

Preview Lab → · Contrast checker → · Palette generator →

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