#C27DEE#C27DEE

#C27DEE is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.5% C 0.172 H 310.9°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#C27DEE
RGBrgb(194, 125, 238)
HSLhsl(277, 77%, 71%)
HSVhsv(277, 47%, 93%)
CMYKcmyk(18.5%, 47.5%, 0%, 6.7%)
CIE-LABlab(63.60, 46.63, -46.73)
CIE-LCHlch(63.60, 66.02, 314.94°)
OKLaboklab(70.54% 0.1127 -0.1303)
OKLCHoklch(70.54% 0.172 310.9)
XYZxyz(45.0116, 32.3104, 84.7377)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27DEE #A9EE7D
analogous
#897DEE #C27DEE #EE7DE1
triadic
#C27DEE #EEC27D #7DEEC2
tetradic
#C27DEE #EE897D #A9EE7D #7DE1EE
square
#C27DEE #EE897D #A9EE7D #7DE1EE
split-complementary
#C27DEE #E1EE7D #7DEE89
monochromatic
#8D1CD5 #A947E7 #C27DEE #DBB3F5 #F2E4FB

Accessibility & contrast

On white

2.81
#C27DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#C27DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27DEE
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27DEE#FFFFFF#000000##000000
##C27DEE1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F2
Deuteranopia (green-blind)
#769BEB
Tritanopia (blue-blind)
#BD8FAA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c27dee;
/* rgb */ color: rgb(194, 125, 238);
/* oklch */ color: oklch(70.5% 0.172 310.9);
Tailwind
colors: {
  custom: {
    50: '#d6a4f4',
    500: '#c27dee',
    950: '#000000',
  },
}
SCSS
$custom: #c27dee;
$custom-light: #d6a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c27dee",
  "rgb": {
    "r": 194,
    "g": 125,
    "b": 238
  },
  "hsl": {
    "h": 276.637,
    "s": 76.871,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70544,
    "c": 0.17225,
    "h": 310.9
  },
  "luminance": 0.3231
}

Semantic roles & 50–950 ramp

primary
#C27DEE
secondary
#E0F2D5
accent
#D90C5C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C27DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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