#C296FB#C296FB

#C296FB is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.3% C 0.147 H 303.1°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#C296FB
RGBrgb(194, 150, 251)
HSLhsl(266, 93%, 79%)
HSVhsv(266, 40%, 98%)
CMYKcmyk(22.7%, 40.2%, 0%, 1.6%)
CIE-LABlab(69.65, 35.98, -44.35)
CIE-LCHlch(69.65, 57.11, 309.05°)
OKLaboklab(75.28% 0.0805 -0.1235)
OKLCHoklch(75.28% 0.147 303.1)
XYZxyz(50.5634, 40.2471, 96.3528)
Luminance0.4025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C296FB #CFFB96
analogous
#969CFB #C296FB #F596FB
triadic
#C296FB #FBC296 #96FBC2
tetradic
#C296FB #FB969C #CFFB96 #96FBF5
square
#C296FB #FB969C #CFFB96 #96FBF5
split-complementary
#C296FB #FBF596 #9CFB96
monochromatic
#7E20F7 #A05BF9 #C296FB #E4D1FD #EEE2FE

Accessibility & contrast

On white

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

On black

9.05
#C296FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C296FB
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C296FB#FFFFFF#000000##000000
##C296FB1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c296fb;
/* rgb */ color: rgb(194, 150, 251);
/* oklch */ color: oklch(75.3% 0.147 303.1);
Tailwind
colors: {
  custom: {
    50: '#d6b5fd',
    500: '#c296fb',
    950: '#000000',
  },
}
SCSS
$custom: #c296fb;
$custom-light: #d6b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c296fb",
  "rgb": {
    "r": 194,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 266.139,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75277,
    "c": 0.14741,
    "h": 303.1
  },
  "luminance": 0.40247
}

Semantic roles & 50–950 ramp

primary
#C296FB
secondary
#E8F6D5
accent
#E60082
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #C296FB

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

Preview Lab → · Contrast checker → · Palette generator →

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