#C37AFA#C37AFA

#C37AFA is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.8% C 0.191 H 308.6°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#C37AFA
RGBrgb(195, 122, 250)
HSLhsl(274, 93%, 73%)
HSVhsv(274, 51%, 98%)
CMYKcmyk(22%, 51.2%, 0%, 2%)
CIE-LABlab(63.69, 51.09, -53.19)
CIE-LCHlch(63.69, 73.75, 313.85°)
OKLaboklab(70.83% 0.1191 -0.149)
OKLCHoklch(70.83% 0.191 308.6)
XYZxyz(46.7172, 32.4240, 94.2213)
Luminance0.3242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C37AFA #B1FA7A
analogous
#837AFA #C37AFA #FA7AF1
triadic
#C37AFA #FAC37A #7AFAC3
tetradic
#C37AFA #FA837A #B1FA7A #7AF1FA
square
#C37AFA #FA837A #B1FA7A #7AF1FA
split-complementary
#C37AFA #F1FA7A #7AFA83
monochromatic
#8D09F1 #A83FF8 #C37AFA #DEB5FC #F2E2FE

Accessibility & contrast

On white

2.81
#C37AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#C37AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C37AFA
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C37AFA#FFFFFF#000000##000000
##C37AFA1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FE
Deuteranopia (green-blind)
#6C9BF7
Tritanopia (blue-blind)
#BB90AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c37afa;
/* rgb */ color: rgb(195, 122, 250);
/* oklch */ color: oklch(70.8% 0.191 308.6);
Tailwind
colors: {
  custom: {
    50: '#d8a2fc',
    500: '#c37afa',
    950: '#000000',
  },
}
SCSS
$custom: #c37afa;
$custom-light: #d8a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c37afa",
  "rgb": {
    "r": 195,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 274.219,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70832,
    "c": 0.1908,
    "h": 308.6
  },
  "luminance": 0.32423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C37AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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