#C296EB#C296EB

#C296EB is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.5% C 0.127 H 307.3°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#C296EB
RGBrgb(194, 150, 235)
HSLhsl(271, 68%, 75%)
HSVhsv(271, 36%, 92%)
CMYKcmyk(17.4%, 36.2%, 0%, 7.8%)
CIE-LABlab(68.95, 32.40, -36.69)
CIE-LCHlch(68.95, 48.94, 311.45°)
OKLaboklab(74.53% 0.0773 -0.1014)
OKLCHoklch(74.53% 0.127 307.3)
XYZxyz(48.1470, 39.2806, 83.6266)
Luminance0.3928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C296EB #BFEB96
analogous
#9796EB #C296EB #EB96E9
triadic
#C296EB #EBC296 #96EBC2
tetradic
#C296EB #EB9796 #BFEB96 #96E9EB
square
#C296EB #EB9796 #BFEB96 #96E9EB
split-complementary
#C296EB #E9EB96 #96EB97
monochromatic
#862FD7 #A463E1 #C296EB #E0C9F5 #F0E5FA

Accessibility & contrast

On white

2.37
#C296EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#C296EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C296EB
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C296EB#FFFFFF#000000##000000
##C296EB1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EE
Deuteranopia (green-blind)
#8EA9E9
Tritanopia (blue-blind)
#BCA3B6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c296eb;
/* rgb */ color: rgb(194, 150, 235);
/* oklch */ color: oklch(74.5% 0.127 307.3);
Tailwind
colors: {
  custom: {
    50: '#d5b5f1',
    500: '#c296eb',
    950: '#000000',
  },
}
SCSS
$custom: #c296eb;
$custom-light: #d5b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c296eb",
  "rgb": {
    "r": 194,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 271.059,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74527,
    "c": 0.12749,
    "h": 307.3
  },
  "luminance": 0.3928
}

Semantic roles & 50–950 ramp

primary
#C296EB
secondary
#E5F2D9
accent
#D0166F
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #C296EB

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

Preview Lab → · Contrast checker → · Palette generator →

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