#C296EF#C296EF

#C296EF is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.7% C 0.132 H 306.2°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#C296EF
RGBrgb(194, 150, 239)
HSLhsl(270, 74%, 76%)
HSVhsv(270, 37%, 94%)
CMYKcmyk(18.8%, 37.2%, 0%, 6.3%)
CIE-LABlab(69.12, 33.28, -38.62)
CIE-LCHlch(69.12, 50.98, 310.75°)
OKLaboklab(74.71% 0.0782 -0.1069)
OKLCHoklch(74.71% 0.132 306.2)
XYZxyz(48.7314, 39.5143, 86.7044)
Luminance0.3951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C296EF #C3EF96
analogous
#9697EF #C296EF #EF96EF
triadic
#C296EF #EFC296 #96EFC2
tetradic
#C296EF #EF9697 #C3EF96 #96EFEF
square
#C296EF #EF9697 #C3EF96 #96EFEF
split-complementary
#C296EF #EFEF96 #97EF96
monochromatic
#842CDF #A361E7 #C296EF #E1CBF7 #F0E4FB

Accessibility & contrast

On white

2.36
#C296EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#C296EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C296EF
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C296EF#FFFFFF#000000##000000
##C296EF1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F2
Deuteranopia (green-blind)
#8CA9ED
Tritanopia (blue-blind)
#BBA4B7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c296ef;
/* rgb */ color: rgb(194, 150, 239);
/* oklch */ color: oklch(74.7% 0.132 306.2);
Tailwind
colors: {
  custom: {
    50: '#d6b5f4',
    500: '#c296ef',
    950: '#000000',
  },
}
SCSS
$custom: #c296ef;
$custom-light: #d6b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c296ef",
  "rgb": {
    "r": 194,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 269.663,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7471,
    "c": 0.13246,
    "h": 306.2
  },
  "luminance": 0.39514
}

Semantic roles & 50–950 ramp

primary
#C296EF
secondary
#E6F3D8
accent
#D61074
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #C296EF

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

Preview Lab → · Contrast checker → · Palette generator →

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