#C27FDB#C27FDB

#C27FDB is a light, vivid purple. Relative luminance 0.318; OKLCH L 69.9% C 0.148 H 316.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#C27FDB
RGBrgb(194, 127, 219)
HSLhsl(284, 56%, 68%)
HSVhsv(284, 42%, 86%)
CMYKcmyk(11.4%, 42%, 0%, 14.1%)
CIE-LABlab(63.15, 41.56, -36.88)
CIE-LCHlch(63.15, 55.56, 318.41°)
OKLaboklab(69.92% 0.107 -0.1018)
OKLCHoklch(69.92% 0.148 316.4)
XYZxyz(42.6218, 31.7637, 70.8899)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27FDB #98DB7F
analogous
#947FDB #C27FDB #DB7FC6
triadic
#C27FDB #DBC27F #7FDBC2
tetradic
#C27FDB #DB947F #98DB7F #7FC6DB
square
#C27FDB #DB947F #98DB7F #7FC6DB
split-complementary
#C27FDB #C6DB7F #7FDB94
monochromatic
#8C31AF #AB4FCE #C27FDB #D9AFE8 #F0DFF6

Accessibility & contrast

On white

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

On black

7.35
#C27FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27FDB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27FDB#FFFFFF#000000##000000
##C27FDB1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F95DE
Deuteranopia (green-blind)
#819BD8
Tritanopia (blue-blind)
#C18BA3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c27fdb;
/* rgb */ color: rgb(194, 127, 219);
/* oklch */ color: oklch(69.9% 0.148 316.4);
Tailwind
colors: {
  custom: {
    50: '#d6a5e6',
    500: '#c27fdb',
    950: '#000000',
  },
}
SCSS
$custom: #c27fdb;
$custom-light: #d6a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c27fdb",
  "rgb": {
    "r": 194,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 283.696,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69921,
    "c": 0.14767,
    "h": 316.4
  },
  "luminance": 0.31763
}

Semantic roles & 50–950 ramp

primary
#C27FDB
secondary
#D4E9CD
accent
#C4224E
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #C27FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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