#C27BE8#C27BE8

#C27BE8 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.9% C 0.169 H 312.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#C27BE8
RGBrgb(194, 123, 232)
HSLhsl(279, 70%, 70%)
HSVhsv(279, 47%, 91%)
CMYKcmyk(16.4%, 47%, 0%, 9%)
CIE-LABlab(62.90, 46.41, -44.51)
CIE-LCHlch(62.90, 64.30, 316.20°)
OKLaboklab(69.93% 0.1147 -0.1238)
OKLCHoklch(69.93% 0.169 312.8)
XYZxyz(43.8941, 31.4624, 80.0889)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27BE8 #A1E87B
analogous
#8C7BE8 #C27BE8 #E87BD7
triadic
#C27BE8 #E8C27B #7BE8C2
tetradic
#C27BE8 #E88C7B #A1E87B #7BD7E8
square
#C27BE8 #E88C7B #A1E87B #7BD7E8
split-complementary
#C27BE8 #D7E87B #7BE88C
monochromatic
#8D23C6 #AA47DF #C27BE8 #DAAFF1 #F2E3FA

Accessibility & contrast

On white

2.88
#C27BE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#C27BE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27BE8
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27BE8#FFFFFF#000000##000000
##C27BE81.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6394EC
Deuteranopia (green-blind)
#779AE5
Tritanopia (blue-blind)
#BE8CA7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c27be8;
/* rgb */ color: rgb(194, 123, 232);
/* oklch */ color: oklch(69.9% 0.169 312.8);
Tailwind
colors: {
  custom: {
    50: '#d6a3f0',
    500: '#c27be8',
    950: '#000000',
  },
}
SCSS
$custom: #c27be8;
$custom-light: #d6a3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#c27be8",
  "rgb": {
    "r": 194,
    "g": 123,
    "b": 232
  },
  "hsl": {
    "h": 279.083,
    "s": 70.323,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69927,
    "c": 0.16876,
    "h": 312.8
  },
  "luminance": 0.31461
}

Semantic roles & 50–950 ramp

primary
#C27BE8
secondary
#DBEFD0
accent
#D21356
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C27BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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