#C296DF#C296DF

#C296DF is a light, moderate violet. Relative luminance 0.386; OKLCH L 74.0% C 0.113 H 311.3°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#C296DF
RGBrgb(194, 150, 223)
HSLhsl(276, 53%, 73%)
HSVhsv(276, 33%, 87%)
CMYKcmyk(13%, 32.7%, 0%, 12.5%)
CIE-LABlab(68.47, 29.81, -30.84)
CIE-LCHlch(68.47, 42.89, 314.03°)
OKLaboklab(74% 0.0745 -0.0847)
OKLCHoklch(74% 0.113 311.3)
XYZxyz(46.4715, 38.6104, 74.8022)
Luminance0.3861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C296DF #B3DF96
analogous
#9D96DF #C296DF #DF96D8
triadic
#C296DF #DFC296 #96DFC2
tetradic
#C296DF #DF9D96 #B3DF96 #96D8DF
square
#C296DF #DF9D96 #B3DF96 #96D8DF
split-complementary
#C296DF #D8DF96 #96DF9D
monochromatic
#8B3BC0 #A767D1 #C296DF #DDC5ED #F1E8F8

Accessibility & contrast

On white

2.41
#C296DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#C296DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C296DF
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C296DF#FFFFFF#000000##000000
##C296DF1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A5E2
Deuteranopia (green-blind)
#93A8DD
Tritanopia (blue-blind)
#BFA0B1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c296df;
/* rgb */ color: rgb(194, 150, 223);
/* oklch */ color: oklch(74.0% 0.113 311.3);
Tailwind
colors: {
  custom: {
    50: '#d5b5e9',
    500: '#c296df',
    950: '#000000',
  },
}
SCSS
$custom: #c296df;
$custom-light: #d5b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c296df",
  "rgb": {
    "r": 194,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 276.164,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73998,
    "c": 0.11277,
    "h": 311.3
  },
  "luminance": 0.3861
}

Semantic roles & 50–950 ramp

primary
#C296DF
secondary
#E4EFDC
accent
#C12563
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #C296DF

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

Preview Lab → · Contrast checker → · Palette generator →

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