#C27EEC#C27EEC

#C27EEC is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.6% C 0.168 H 311.3°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#C27EEC
RGBrgb(194, 126, 236)
HSLhsl(277, 74%, 71%)
HSVhsv(277, 47%, 93%)
CMYKcmyk(17.8%, 46.6%, 0%, 7.5%)
CIE-LABlab(63.71, 45.67, -45.44)
CIE-LCHlch(63.71, 64.43, 315.14°)
OKLaboklab(70.6% 0.1111 -0.1265)
OKLCHoklch(70.6% 0.168 311.3)
XYZxyz(44.8466, 32.4480, 83.2412)
Luminance0.3245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27EEC #A8EC7E
analogous
#8B7EEC #C27EEC #EC7EDF
triadic
#C27EEC #ECC27E #7EECC2
tetradic
#C27EEC #EC8B7E #A8EC7E #7EDFEC
square
#C27EEC #EC8B7E #A8EC7E #7EDFEC
split-complementary
#C27EEC #DFEC7E #7EEC8B
monochromatic
#8D1FD1 #A949E4 #C27EEC #DBB3F4 #F2E4FB

Accessibility & contrast

On white

2.80
#C27EEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#C27EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27EEC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27EEC#FFFFFF#000000##000000
##C27EEC1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F0
Deuteranopia (green-blind)
#789CE9
Tritanopia (blue-blind)
#BD8FAA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c27eec;
/* rgb */ color: rgb(194, 126, 236);
/* oklch */ color: oklch(70.6% 0.168 311.3);
Tailwind
colors: {
  custom: {
    50: '#d6a5f2',
    500: '#c27eec',
    950: '#000000',
  },
}
SCSS
$custom: #c27eec;
$custom-light: #d6a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c27eec",
  "rgb": {
    "r": 194,
    "g": 126,
    "b": 236
  },
  "hsl": {
    "h": 277.091,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70597,
    "c": 0.16838,
    "h": 311.3
  },
  "luminance": 0.32447
}

Semantic roles & 50–950 ramp

primary
#C27EEC
secondary
#DFF2D4
accent
#D60F5B
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C27EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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