#C27EFE#C27EFE

#C27EFE is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.5% C 0.189 H 306.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#C27EFE
RGBrgb(194, 126, 254)
HSLhsl(272, 98%, 75%)
HSVhsv(272, 50%, 100%)
CMYKcmyk(23.6%, 50.4%, 0%, 0.4%)
CIE-LABlab(64.60, 49.63, -53.95)
CIE-LCHlch(64.60, 73.30, 312.61°)
OKLaboklab(71.55% 0.1131 -0.1513)
OKLCHoklch(71.55% 0.189 306.8)
XYZxyz(47.5947, 33.5473, 97.7146)
Luminance0.3355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27EFE #BAFE7E
analogous
#827EFE #C27EFE #FE7EFA
triadic
#C27EFE #FEC27E #7EFEC2
tetradic
#C27EFE #FE827E #BAFE7E #7EFAFE
square
#C27EFE #FE827E #BAFE7E #7EFAFE
split-complementary
#C27EFE #FAFE7E #7EFE82
monochromatic
#8905FD #A541FE #C27EFE #DFBBFE #F1E1FF

Accessibility & contrast

On white

2.72
#C27EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#C27EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27EFE
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27EFE#FFFFFF#000000##000000
##C27EFE1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#6D9DFB
Tritanopia (blue-blind)
#B994B3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c27efe;
/* rgb */ color: rgb(194, 126, 254);
/* oklch */ color: oklch(71.5% 0.189 306.8);
Tailwind
colors: {
  custom: {
    50: '#d7a5ff',
    500: '#c27efe',
    950: '#000000',
  },
}
SCSS
$custom: #c27efe;
$custom-light: #d7a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c27efe",
  "rgb": {
    "r": 194,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 271.875,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71548,
    "c": 0.18887,
    "h": 306.8
  },
  "luminance": 0.33547
}

Semantic roles & 50–950 ramp

primary
#C27EFE
secondary
#E4F7D4
accent
#E6006C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C27EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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