#C27BED#C27BED

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

Color values

HEX#C27BED
RGBrgb(194, 123, 237)
HSLhsl(277, 76%, 71%)
HSVhsv(277, 48%, 93%)
CMYKcmyk(18.1%, 48.1%, 0%, 7.1%)
CIE-LABlab(63.14, 47.48, -46.90)
CIE-LCHlch(63.14, 66.74, 315.35°)
OKLaboklab(70.18% 0.1153 -0.1308)
OKLCHoklch(70.18% 0.174 311.4)
XYZxyz(44.6144, 31.7505, 83.8826)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27BED #A6ED7B
analogous
#897BED #C27BED #ED7BDF
triadic
#C27BED #EDC27B #7BEDC2
tetradic
#C27BED #ED897B #A6ED7B #7BDFED
square
#C27BED #ED897B #A6ED7B #7BDFED
split-complementary
#C27BED #DFED7B #7BED89
monochromatic
#8D1DD1 #A945E6 #C27BED #DBB1F4 #F3E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C27BED#FFFFFF#000000##000000
##C27BED1.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)
#6095F1
Deuteranopia (green-blind)
#749AEA
Tritanopia (blue-blind)
#BD8DA9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c27bed;
/* rgb */ color: rgb(194, 123, 237);
/* oklch */ color: oklch(70.2% 0.174 311.4);
Tailwind
colors: {
  custom: {
    50: '#d6a3f3',
    500: '#c27bed',
    950: '#000000',
  },
}
SCSS
$custom: #c27bed;
$custom-light: #d6a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c27bed",
  "rgb": {
    "r": 194,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 277.368,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70184,
    "c": 0.17433,
    "h": 311.4
  },
  "luminance": 0.3175
}

Semantic roles & 50–950 ramp

primary
#C27BED
secondary
#DEF1D2
accent
#D80D5A
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C27BED

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

Preview Lab → · Contrast checker → · Palette generator →

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