#C37EF8#C37EF8

#C37EF8 is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.3% C 0.182 H 308.6°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#C37EF8
RGBrgb(195, 126, 248)
HSLhsl(274, 90%, 73%)
HSVhsv(274, 49%, 97%)
CMYKcmyk(21.4%, 49.2%, 0%, 2.7%)
CIE-LABlab(64.40, 48.55, -50.96)
CIE-LCHlch(64.40, 70.39, 313.62°)
OKLaboklab(71.33% 0.1137 -0.1425)
OKLCHoklch(71.33% 0.182 308.6)
XYZxyz(46.9065, 33.3018, 92.7456)
Luminance0.3330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C37EF8 #B3F87E
analogous
#867EF8 #C37EF8 #F87EF0
triadic
#C37EF8 #F8C37E #7EF8C3
tetradic
#C37EF8 #F8867E #B3F87E #7EF0F8
square
#C37EF8 #F8867E #B3F87E #7EF0F8
split-complementary
#C37EF8 #F0F87E #7EF886
monochromatic
#8D0DEF #A844F5 #C37EF8 #DEB8FB #F1E2FD

Accessibility & contrast

On white

2.74
#C37EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#C37EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C37EF8
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C37EF8#FFFFFF#000000##000000
##C37EF81.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FC
Deuteranopia (green-blind)
#719DF5
Tritanopia (blue-blind)
#BC93B0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c37ef8;
/* rgb */ color: rgb(195, 126, 248);
/* oklch */ color: oklch(71.3% 0.182 308.6);
Tailwind
colors: {
  custom: {
    50: '#d7a5fb',
    500: '#c37ef8',
    950: '#000000',
  },
}
SCSS
$custom: #c37ef8;
$custom-light: #d7a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c37ef8",
  "rgb": {
    "r": 195,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 273.934,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71327,
    "c": 0.18234,
    "h": 308.6
  },
  "luminance": 0.33301
}

Semantic roles & 50–950 ramp

primary
#C37EF8
secondary
#E3F6D5
accent
#E60064
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C37EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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