#C296FC#C296FC

#C296FC is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.3% C 0.149 H 302.9°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#C296FC
RGBrgb(194, 150, 252)
HSLhsl(266, 94%, 79%)
HSVhsv(266, 40%, 99%)
CMYKcmyk(23%, 40.5%, 0%, 1.2%)
CIE-LABlab(69.69, 36.21, -44.82)
CIE-LCHlch(69.69, 57.62, 308.93°)
OKLaboklab(75.33% 0.0807 -0.1248)
OKLCHoklch(75.33% 0.149 302.9)
XYZxyz(50.7214, 40.3103, 97.1851)
Luminance0.4031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C296FC #D0FC96
analogous
#969DFC #C296FC #F596FC
triadic
#C296FC #FCC296 #96FCC2
tetradic
#C296FC #FC969D #D0FC96 #96FCF5
square
#C296FC #FC969D #D0FC96 #96FCF5
split-complementary
#C296FC #FCF596 #9DFC96
monochromatic
#7D1FF9 #9F5BFA #C296FC #E5D2FE #EEE1FE

Accessibility & contrast

On white

2.32
#C296FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#C296FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C296FC
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C296FC#FFFFFF#000000##000000
##C296FC1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#86AAF9
Tritanopia (blue-blind)
#B8A7BD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c296fc;
/* rgb */ color: rgb(194, 150, 252);
/* oklch */ color: oklch(75.3% 0.149 302.9);
Tailwind
colors: {
  custom: {
    50: '#d6b5fe',
    500: '#c296fc',
    950: '#000000',
  },
}
SCSS
$custom: #c296fc;
$custom-light: #d6b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c296fc",
  "rgb": {
    "r": 194,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 265.882,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75326,
    "c": 0.14865,
    "h": 302.9
  },
  "luminance": 0.4031
}

Semantic roles & 50–950 ramp

primary
#C296FC
secondary
#E8F6D5
accent
#E60083
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #C296FC

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

Preview Lab → · Contrast checker → · Palette generator →

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