#C27DFD#C27DFD

#C27DFD is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.3% C 0.189 H 307.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#C27DFD
RGBrgb(194, 125, 253)
HSLhsl(272, 97%, 74%)
HSVhsv(272, 51%, 99%)
CMYKcmyk(23.3%, 50.6%, 0%, 0.8%)
CIE-LABlab(64.35, 49.93, -53.80)
CIE-LCHlch(64.35, 73.40, 312.86°)
OKLaboklab(71.34% 0.1143 -0.1509)
OKLCHoklch(71.34% 0.189 307.1)
XYZxyz(47.3078, 33.2289, 96.8311)
Luminance0.3323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27DFD #B8FD7D
analogous
#827DFD #C27DFD #FD7DF8
triadic
#C27DFD #FDC27D #7DFDC2
tetradic
#C27DFD #FD827D #B8FD7D #7DF8FD
square
#C27DFD #FD827D #B8FD7D #7DF8FD
split-complementary
#C27DFD #F8FD7D #7DFD82
monochromatic
#8904FB #A641FC #C27DFD #DEB9FE #F1E1FF

Accessibility & contrast

On white

2.75
#C27DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#C27DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27DFD
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27DFD#FFFFFF#000000##000000
##C27DFD1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#6C9DFA
Tritanopia (blue-blind)
#B993B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c27dfd;
/* rgb */ color: rgb(194, 125, 253);
/* oklch */ color: oklch(71.3% 0.189 307.1);
Tailwind
colors: {
  custom: {
    50: '#d7a4fe',
    500: '#c27dfd',
    950: '#000000',
  },
}
SCSS
$custom: #c27dfd;
$custom-light: #d7a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c27dfd",
  "rgb": {
    "r": 194,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 272.344,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71342,
    "c": 0.18926,
    "h": 307.1
  },
  "luminance": 0.33228
}

Semantic roles & 50–950 ramp

primary
#C27DFD
secondary
#E4F7D4
accent
#E6006A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C27DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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