#C27EF8#C27EF8

#C27EF8 is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.2% C 0.182 H 308.2°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#C27EF8
RGBrgb(194, 126, 248)
HSLhsl(273, 90%, 73%)
HSVhsv(273, 49%, 97%)
CMYKcmyk(21.8%, 49.2%, 0%, 2.7%)
CIE-LABlab(64.30, 48.29, -51.13)
CIE-LCHlch(64.30, 70.33, 313.36°)
OKLaboklab(71.22% 0.1125 -0.1431)
OKLCHoklch(71.22% 0.182 308.2)
XYZxyz(46.6489, 33.1689, 92.7335)
Luminance0.3317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27EF8 #B4F87E
analogous
#857EF8 #C27EF8 #F87EF1
triadic
#C27EF8 #F8C27E #7EF8C2
tetradic
#C27EF8 #F8857E #B4F87E #7EF1F8
square
#C27EF8 #F8857E #B4F87E #7EF1F8
split-complementary
#C27EF8 #F1F87E #7EF885
monochromatic
#8B0DEF #A744F5 #C27EF8 #DDB8FB #F1E2FD

Accessibility & contrast

On white

2.75
#C27EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#C27EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27EF8
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27EF8#FFFFFF#000000##000000
##C27EF81.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FC
Deuteranopia (green-blind)
#719DF5
Tritanopia (blue-blind)
#BA93B0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c27ef8;
/* rgb */ color: rgb(194, 126, 248);
/* oklch */ color: oklch(71.2% 0.182 308.2);
Tailwind
colors: {
  custom: {
    50: '#d7a5fb',
    500: '#c27ef8',
    950: '#000000',
  },
}
SCSS
$custom: #c27ef8;
$custom-light: #d7a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c27ef8",
  "rgb": {
    "r": 194,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 273.443,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71224,
    "c": 0.18202,
    "h": 308.2
  },
  "luminance": 0.33168
}

Semantic roles & 50–950 ramp

primary
#C27EF8
secondary
#E4F6D5
accent
#E60066
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C27EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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