#C670EC#C670EC

#C670EC is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.9% C 0.192 H 314.5°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#C670EC
RGBrgb(198, 112, 236)
HSLhsl(282, 77%, 68%)
HSVhsv(282, 53%, 93%)
CMYKcmyk(16.1%, 52.5%, 0%, 7.5%)
CIE-LABlab(61.35, 54.02, -49.14)
CIE-LCHlch(61.35, 73.03, 317.71°)
OKLaboklab(68.95% 0.1346 -0.1371)
OKLCHoklch(68.95% 0.192 314.5)
XYZxyz(44.2208, 29.6515, 82.7345)
Luminance0.2965 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C670EC #96EC70
analogous
#8870EC #C670EC #EC70D4
triadic
#C670EC #ECC670 #70ECC6
tetradic
#C670EC #EC8870 #96EC70 #70D4EC
square
#C670EC #EC8870 #96EC70 #70D4EC
split-complementary
#C670EC #D4EC70 #70EC88
monochromatic
#921AC7 #B03AE5 #C670EC #DCA6F3 #F1DCFA

Accessibility & contrast

On white

3.03
#C670EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#C670EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C670EC
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C670EC#FFFFFF#000000##000000
##C670EC1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FF0
Deuteranopia (green-blind)
#6E96E9
Tritanopia (blue-blind)
#C384A4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c670ec;
/* rgb */ color: rgb(198, 112, 236);
/* oklch */ color: oklch(68.9% 0.192 314.5);
Tailwind
colors: {
  custom: {
    50: '#da9cf2',
    500: '#c670ec',
    950: '#000000',
  },
}
SCSS
$custom: #c670ec;
$custom-light: #da9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c670ec",
  "rgb": {
    "r": 198,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 281.613,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68948,
    "c": 0.19215,
    "h": 314.5
  },
  "luminance": 0.2965
}

Semantic roles & 50–950 ramp

primary
#C670EC
secondary
#D5EFC9
accent
#D90D4B
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C670EC

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

Preview Lab → · Contrast checker → · Palette generator →

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