#C37CEB#C37CEB

#C37CEB is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.3% C 0.171 H 312.2°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#C37CEB
RGBrgb(195, 124, 235)
HSLhsl(278, 74%, 70%)
HSVhsv(278, 47%, 92%)
CMYKcmyk(17%, 47.2%, 0%, 7.8%)
CIE-LABlab(63.36, 46.79, -45.44)
CIE-LCHlch(63.36, 65.23, 315.84°)
OKLaboklab(70.34% 0.1149 -0.1265)
OKLCHoklch(70.34% 0.171 312.2)
XYZxyz(44.7061, 32.0165, 82.4059)
Luminance0.3202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C37CEB #A4EB7C
analogous
#8B7CEB #C37CEB #EB7CDC
triadic
#C37CEB #EBC37C #7CEBC3
tetradic
#C37CEB #EB8B7C #A4EB7C #7CDCEB
square
#C37CEB #EB8B7C #A4EB7C #7CDCEB
split-complementary
#C37CEB #DCEB7C #7CEB8B
monochromatic
#8F1FCD #AB47E3 #C37CEB #DBB1F3 #F3E4FB

Accessibility & contrast

On white

2.84
#C37CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#C37CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C37CEB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C37CEB#FFFFFF#000000##000000
##C37CEB1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396EF
Deuteranopia (green-blind)
#779BE8
Tritanopia (blue-blind)
#BF8DA9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c37ceb;
/* rgb */ color: rgb(195, 124, 235);
/* oklch */ color: oklch(70.3% 0.171 312.2);
Tailwind
colors: {
  custom: {
    50: '#d7a4f2',
    500: '#c37ceb',
    950: '#000000',
  },
}
SCSS
$custom: #c37ceb;
$custom-light: #d7a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c37ceb",
  "rgb": {
    "r": 195,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 278.378,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70341,
    "c": 0.17087,
    "h": 312.2
  },
  "luminance": 0.32016
}

Semantic roles & 50–950 ramp

primary
#C37CEB
secondary
#DDF1D2
accent
#D61057
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C37CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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