#C296EA#C296EA

#C296EA is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.5% C 0.126 H 307.6°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#C296EA
RGBrgb(194, 150, 234)
HSLhsl(271, 67%, 75%)
HSVhsv(271, 36%, 92%)
CMYKcmyk(17.1%, 35.9%, 0%, 8.2%)
CIE-LABlab(68.91, 32.18, -36.20)
CIE-LCHlch(68.91, 48.44, 311.63°)
OKLaboklab(74.48% 0.0771 -0.1)
OKLCHoklch(74.48% 0.126 307.6)
XYZxyz(48.0029, 39.2230, 82.8679)
Luminance0.3922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C296EA #BEEA96
analogous
#9896EA #C296EA #EA96E8
triadic
#C296EA #EAC296 #96EAC2
tetradic
#C296EA #EA9896 #BEEA96 #96E8EA
square
#C296EA #EA9896 #BEEA96 #96E8EA
split-complementary
#C296EA #E8EA96 #96EA98
monochromatic
#8730D6 #A463E0 #C296EA #E0C9F4 #F0E5FA

Accessibility & contrast

On white

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

On black

8.84
#C296EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C296EA
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C296EA#FFFFFF#000000##000000
##C296EA1.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A6ED
Deuteranopia (green-blind)
#8FA9E8
Tritanopia (blue-blind)
#BDA2B5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c296ea;
/* rgb */ color: rgb(194, 150, 234);
/* oklch */ color: oklch(74.5% 0.126 307.6);
Tailwind
colors: {
  custom: {
    50: '#d5b5f1',
    500: '#c296ea',
    950: '#000000',
  },
}
SCSS
$custom: #c296ea;
$custom-light: #d5b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c296ea",
  "rgb": {
    "r": 194,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 271.429,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74482,
    "c": 0.12626,
    "h": 307.6
  },
  "luminance": 0.39223
}

Semantic roles & 50–950 ramp

primary
#C296EA
secondary
#E5F1DA
accent
#CF176E
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #C296EA

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

Preview Lab → · Contrast checker → · Palette generator →

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