#C27FFE#C27FFE

#C27FFE is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.7% C 0.187 H 306.6°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#C27FFE
RGBrgb(194, 127, 254)
HSLhsl(272, 98%, 75%)
HSVhsv(272, 50%, 100%)
CMYKcmyk(23.6%, 50%, 0%, 0.4%)
CIE-LABlab(64.81, 49.10, -53.62)
CIE-LCHlch(64.81, 72.70, 312.48°)
OKLaboklab(71.7% 0.1118 -0.1503)
OKLCHoklch(71.7% 0.187 306.6)
XYZxyz(47.7232, 33.8043, 97.7575)
Luminance0.3380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27FFE #BBFE7F
analogous
#837FFE #C27FFE #FE7FFA
triadic
#C27FFE #FEC27F #7FFEC2
tetradic
#C27FFE #FE837F #BBFE7F #7FFAFE
square
#C27FFE #FE837F #BBFE7F #7FFAFE
split-complementary
#C27FFE #FAFE7F #7FFE83
monochromatic
#8806FD #A542FE #C27FFE #DFBCFE #F1E1FF

Accessibility & contrast

On white

2.71
#C27FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#C27FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27FFE
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27FFE#FFFFFF#000000##000000
##C27FFE1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#6E9EFB
Tritanopia (blue-blind)
#B995B3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c27ffe;
/* rgb */ color: rgb(194, 127, 254);
/* oklch */ color: oklch(71.7% 0.187 306.6);
Tailwind
colors: {
  custom: {
    50: '#d7a6ff',
    500: '#c27ffe',
    950: '#000000',
  },
}
SCSS
$custom: #c27ffe;
$custom-light: #d7a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c27ffe",
  "rgb": {
    "r": 194,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 271.654,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.717,
    "c": 0.18733,
    "h": 306.6
  },
  "luminance": 0.33804
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C27FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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