#C27BEE#C27BEE

#C27BEE is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.2% C 0.175 H 311.1°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#C27BEE
RGBrgb(194, 123, 238)
HSLhsl(277, 77%, 71%)
HSVhsv(277, 48%, 93%)
CMYKcmyk(18.5%, 48.3%, 0%, 6.7%)
CIE-LABlab(63.18, 47.69, -47.38)
CIE-LCHlch(63.18, 67.23, 315.19°)
OKLaboklab(70.24% 0.1154 -0.1321)
OKLCHoklch(70.24% 0.175 311.1)
XYZxyz(44.7609, 31.8091, 84.6542)
Luminance0.3181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27BEE #A7EE7B
analogous
#887BEE #C27BEE #EE7BE1
triadic
#C27BEE #EEC27B #7BEEC2
tetradic
#C27BEE #EE887B #A7EE7B #7BE1EE
square
#C27BEE #EE887B #A7EE7B #7BE1EE
split-complementary
#C27BEE #E1EE7B #7BEE88
monochromatic
#8D1BD3 #A945E7 #C27BEE #DBB1F5 #F2E4FC

Accessibility & contrast

On white

2.85
#C27BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#C27BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27BEE
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27BEE#FFFFFF#000000##000000
##C27BEE1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F2
Deuteranopia (green-blind)
#749AEB
Tritanopia (blue-blind)
#BD8DA9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c27bee;
/* rgb */ color: rgb(194, 123, 238);
/* oklch */ color: oklch(70.2% 0.175 311.1);
Tailwind
colors: {
  custom: {
    50: '#d7a3f4',
    500: '#c27bee',
    950: '#000000',
  },
}
SCSS
$custom: #c27bee;
$custom-light: #d7a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c27bee",
  "rgb": {
    "r": 194,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 277.043,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70236,
    "c": 0.17545,
    "h": 311.1
  },
  "luminance": 0.31808
}

Semantic roles & 50–950 ramp

primary
#C27BEE
secondary
#DFF2D3
accent
#D90C5B
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C27BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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