#C27DFE#C27DFE

#C27DFE is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.4% C 0.190 H 306.9°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#C27DFE
RGBrgb(194, 125, 254)
HSLhsl(272, 98%, 74%)
HSVhsv(272, 51%, 100%)
CMYKcmyk(23.6%, 50.8%, 0%, 0.4%)
CIE-LABlab(64.40, 50.15, -54.27)
CIE-LCHlch(64.40, 73.90, 312.74°)
OKLaboklab(71.4% 0.1144 -0.1522)
OKLCHoklch(71.4% 0.19 306.9)
XYZxyz(47.4675, 33.2928, 97.6722)
Luminance0.3329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27DFE #B9FE7D
analogous
#827DFE #C27DFE #FE7DF9
triadic
#C27DFE #FEC27D #7DFEC2
tetradic
#C27DFE #FE827D #B9FE7D #7DF9FE
square
#C27DFE #FE827D #B9FE7D #7DF9FE
split-complementary
#C27DFE #F9FE7D #7DFE82
monochromatic
#8904FD #A640FE #C27DFE #DEBAFE #F1E1FF

Accessibility & contrast

On white

2.74
#C27DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#C27DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27DFE
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27DFE#FFFFFF#000000##000000
##C27DFE1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#579AFF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#B994B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c27dfe;
/* rgb */ color: rgb(194, 125, 254);
/* oklch */ color: oklch(71.4% 0.190 306.9);
Tailwind
colors: {
  custom: {
    50: '#d7a4ff',
    500: '#c27dfe',
    950: '#000000',
  },
}
SCSS
$custom: #c27dfe;
$custom-light: #d7a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c27dfe",
  "rgb": {
    "r": 194,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 272.093,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71397,
    "c": 0.1904,
    "h": 306.9
  },
  "luminance": 0.33292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C27DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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