#C27BEC#C27BEC

#C27BEC is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.1% C 0.173 H 311.7°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#C27BEC
RGBrgb(194, 123, 236)
HSLhsl(278, 75%, 70%)
HSVhsv(278, 48%, 93%)
CMYKcmyk(17.8%, 47.9%, 0%, 7.5%)
CIE-LABlab(63.09, 47.26, -46.43)
CIE-LCHlch(63.09, 66.25, 315.51°)
OKLaboklab(70.13% 0.1152 -0.1294)
OKLCHoklch(70.13% 0.173 311.7)
XYZxyz(44.4687, 31.6923, 83.1153)
Luminance0.3169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27BEC #A5EC7B
analogous
#897BEC #C27BEC #EC7BDD
triadic
#C27BEC #ECC27B #7BECC2
tetradic
#C27BEC #EC897B #A5EC7B #7BDDEC
square
#C27BEC #EC897B #A5EC7B #7BDDEC
split-complementary
#C27BEC #DDEC7B #7BEC89
monochromatic
#8D1ECF #A946E4 #C27BEC #DBB0F4 #F3E4FB

Accessibility & contrast

On white

2.86
#C27BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#C27BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27BEC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27BEC#FFFFFF#000000##000000
##C27BEC1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195F0
Deuteranopia (green-blind)
#759AE9
Tritanopia (blue-blind)
#BE8DA9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c27bec;
/* rgb */ color: rgb(194, 123, 236);
/* oklch */ color: oklch(70.1% 0.173 311.7);
Tailwind
colors: {
  custom: {
    50: '#d6a3f2',
    500: '#c27bec',
    950: '#000000',
  },
}
SCSS
$custom: #c27bec;
$custom-light: #d6a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c27bec",
  "rgb": {
    "r": 194,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 277.699,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70132,
    "c": 0.17321,
    "h": 311.7
  },
  "luminance": 0.31691
}

Semantic roles & 50–950 ramp

primary
#C27BEC
secondary
#DDF1D2
accent
#D70F59
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C27BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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