#C57AEF#C57AEF

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

Color values

HEX#C57AEF
RGBrgb(197, 122, 239)
HSLhsl(278, 79%, 71%)
HSVhsv(278, 49%, 94%)
CMYKcmyk(17.6%, 49%, 0%, 6.3%)
CIE-LABlab(63.36, 49.24, -47.63)
CIE-LCHlch(63.36, 68.51, 315.95°)
OKLaboklab(70.46% 0.1205 -0.1328)
OKLCHoklch(70.46% 0.179 312.2)
XYZxyz(45.5628, 32.0224, 85.4254)
Luminance0.3202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C57AEF #A4EF7A
analogous
#8A7AEF #C57AEF #EF7ADE
triadic
#C57AEF #EFC57A #7AEFC5
tetradic
#C57AEF #EF8A7A #A4EF7A #7ADEEF
square
#C57AEF #EF8A7A #A4EF7A #7ADEEF
split-complementary
#C57AEF #DEEF7A #7AEF8A
monochromatic
#921AD5 #AD43E8 #C57AEF #DDB1F6 #F3E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C57AEF#FFFFFF#000000##000000
##C57AEF1.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)
#5E95F3
Deuteranopia (green-blind)
#749BEC
Tritanopia (blue-blind)
#C18DAA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c57aef;
/* rgb */ color: rgb(197, 122, 239);
/* oklch */ color: oklch(70.5% 0.179 312.2);
Tailwind
colors: {
  custom: {
    50: '#d9a2f5',
    500: '#c57aef',
    950: '#000000',
  },
}
SCSS
$custom: #c57aef;
$custom-light: #d9a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c57aef",
  "rgb": {
    "r": 197,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 278.462,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70457,
    "c": 0.17929,
    "h": 312.2
  },
  "luminance": 0.32021
}

Semantic roles & 50–950 ramp

primary
#C57AEF
secondary
#DEF2D3
accent
#DB0B55
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C57AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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