#C37EFE#C37EFE

#C37EFE is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.7% C 0.189 H 307.2°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#C37EFE
RGBrgb(195, 126, 254)
HSLhsl(272, 98%, 75%)
HSVhsv(272, 50%, 100%)
CMYKcmyk(23.2%, 50.4%, 0%, 0.4%)
CIE-LABlab(64.71, 49.88, -53.77)
CIE-LCHlch(64.71, 73.35, 312.85°)
OKLaboklab(71.65% 0.1143 -0.1507)
OKLCHoklch(71.65% 0.189 307.2)
XYZxyz(47.8523, 33.6801, 97.7267)
Luminance0.3368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C37EFE #B9FE7E
analogous
#837EFE #C37EFE #FE7EF9
triadic
#C37EFE #FEC37E #7EFEC3
tetradic
#C37EFE #FE837E #B9FE7E #7EF9FE
square
#C37EFE #FE837E #B9FE7E #7EF9FE
split-complementary
#C37EFE #F9FE7E #7EFE83
monochromatic
#8B05FD #A741FE #C37EFE #DFBBFE #F1E1FF

Accessibility & contrast

On white

2.71
#C37EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#C37EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C37EFE
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C37EFE#FFFFFF#000000##000000
##C37EFE1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#6D9EFB
Tritanopia (blue-blind)
#BA94B3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c37efe;
/* rgb */ color: rgb(195, 126, 254);
/* oklch */ color: oklch(71.7% 0.189 307.2);
Tailwind
colors: {
  custom: {
    50: '#d8a5ff',
    500: '#c37efe',
    950: '#000000',
  },
}
SCSS
$custom: #c37efe;
$custom-light: #d8a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c37efe",
  "rgb": {
    "r": 195,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 272.344,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71651,
    "c": 0.18916,
    "h": 307.2
  },
  "luminance": 0.3368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C37EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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