#C27CFB#C27CFB

#C27CFB is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.1% C 0.189 H 307.7°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#C27CFB
RGBrgb(194, 124, 251)
HSLhsl(273, 94%, 74%)
HSVhsv(273, 51%, 98%)
CMYKcmyk(22.7%, 50.6%, 0%, 1.6%)
CIE-LABlab(64.04, 50.01, -53.19)
CIE-LCHlch(64.04, 73.01, 313.23°)
OKLaboklab(71.08% 0.1154 -0.1491)
OKLCHoklch(71.08% 0.189 307.7)
XYZxyz(46.8649, 32.8502, 95.1199)
Luminance0.3285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27CFB #B5FB7C
analogous
#827CFB #C27CFB #FB7CF4
triadic
#C27CFB #FBC27C #7CFBC2
tetradic
#C27CFB #FB827C #B5FB7C #7CF4FB
square
#C27CFB #FB827C #B5FB7C #7CF4FB
split-complementary
#C27CFB #F4FB7C #7CFB82
monochromatic
#8A07F5 #A641F9 #C27CFB #DEB7FD #F1E1FE

Accessibility & contrast

On white

2.77
#C27CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#C27CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27CFB
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27CFB#FFFFFF#000000##000000
##C27CFB1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FF
Deuteranopia (green-blind)
#6D9CF8
Tritanopia (blue-blind)
#BA92B0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c27cfb;
/* rgb */ color: rgb(194, 124, 251);
/* oklch */ color: oklch(71.1% 0.189 307.7);
Tailwind
colors: {
  custom: {
    50: '#d7a4fd',
    500: '#c27cfb',
    950: '#000000',
  },
}
SCSS
$custom: #c27cfb;
$custom-light: #d7a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c27cfb",
  "rgb": {
    "r": 194,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 273.071,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71082,
    "c": 0.18853,
    "h": 307.7
  },
  "luminance": 0.3285
}

Semantic roles & 50–950 ramp

primary
#C27CFB
secondary
#E4F6D5
accent
#E60067
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C27CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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