#C266DB#C266DB

#C266DB is a light, vivid purple. Relative luminance 0.261; OKLCH L 66.2% C 0.189 H 318.7°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#C266DB
RGBrgb(194, 102, 219)
HSLhsl(287, 62%, 63%)
HSVhsv(287, 53%, 86%)
CMYKcmyk(11.4%, 53.4%, 0%, 14.1%)
CIE-LABlab(58.12, 54.53, -44.77)
CIE-LCHlch(58.12, 70.56, 320.61°)
OKLaboklab(66.19% 0.1416 -0.1245)
OKLCHoklch(66.19% 0.189 318.7)
XYZxyz(39.7840, 26.0881, 69.9439)
Luminance0.2609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C266DB #7FDB66
analogous
#8766DB #C266DB #DB66BA
triadic
#C266DB #DBC266 #66DBC2
tetradic
#C266DB #DB8766 #7FDB66 #66BADB
square
#C266DB #DB8766 #7FDB66 #66BADB
split-complementary
#C266DB #BADB66 #66DB87
monochromatic
#8726A1 #AE34CF #C266DB #D698E7 #EAC9F2

Accessibility & contrast

On white

3.38
#C266DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#C266DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C266DB
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C266DB#FFFFFF#000000##000000
##C266DB1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E86DF
Deuteranopia (green-blind)
#6C8FD8
Tritanopia (blue-blind)
#C27797
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c266db;
/* rgb */ color: rgb(194, 102, 219);
/* oklch */ color: oklch(66.2% 0.189 318.7);
Tailwind
colors: {
  custom: {
    50: '#d795e6',
    500: '#c266db',
    950: '#000000',
  },
}
SCSS
$custom: #c266db;
$custom-light: #d795e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c266db",
  "rgb": {
    "r": 194,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 287.179,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66186,
    "c": 0.1885,
    "h": 318.7
  },
  "luminance": 0.26087
}

Semantic roles & 50–950 ramp

primary
#C266DB
secondary
#C2E3B9
accent
#CA1C41
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C266DB

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

Preview Lab → · Contrast checker → · Palette generator →

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