#C27CF8#C27CF8

#C27CF8 is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.9% C 0.185 H 308.5°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#C27CF8
RGBrgb(194, 124, 248)
HSLhsl(274, 90%, 73%)
HSVhsv(274, 50%, 97%)
CMYKcmyk(21.8%, 50%, 0%, 2.7%)
CIE-LABlab(63.89, 49.35, -51.78)
CIE-LCHlch(63.89, 71.53, 313.62°)
OKLaboklab(70.92% 0.1152 -0.145)
OKLCHoklch(70.92% 0.185 308.5)
XYZxyz(46.3958, 32.6626, 92.6491)
Luminance0.3266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27CF8 #B2F87C
analogous
#847CF8 #C27CF8 #F87CF0
triadic
#C27CF8 #F8C27C #7CF8C2
tetradic
#C27CF8 #F8847C #B2F87C #7CF0F8
square
#C27CF8 #F8847C #B2F87C #7CF0F8
split-complementary
#C27CF8 #F0F87C #7CF884
monochromatic
#8B0DED #A742F5 #C27CF8 #DDB6FB #F1E2FD

Accessibility & contrast

On white

2.79
#C27CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#C27CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27CF8
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27CF8#FFFFFF#000000##000000
##C27CF81.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FC
Deuteranopia (green-blind)
#6F9CF5
Tritanopia (blue-blind)
#BB91AF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c27cf8;
/* rgb */ color: rgb(194, 124, 248);
/* oklch */ color: oklch(70.9% 0.185 308.5);
Tailwind
colors: {
  custom: {
    50: '#d7a4fb',
    500: '#c27cf8',
    950: '#000000',
  },
}
SCSS
$custom: #c27cf8;
$custom-light: #d7a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c27cf8",
  "rgb": {
    "r": 194,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 273.871,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70919,
    "c": 0.18514,
    "h": 308.5
  },
  "luminance": 0.32662
}

Semantic roles & 50–950 ramp

primary
#C27CF8
secondary
#E3F6D5
accent
#E60064
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C27CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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