#C670F2#C670F2

#C670F2 is a light, vivid violet. Relative luminance 0.300; OKLCH L 69.3% C 0.198 H 312.9°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#C670F2
RGBrgb(198, 112, 242)
HSLhsl(280, 83%, 69%)
HSVhsv(280, 54%, 95%)
CMYKcmyk(18.2%, 53.7%, 0%, 5.1%)
CIE-LABlab(61.66, 55.27, -51.98)
CIE-LCHlch(61.66, 75.87, 316.76°)
OKLaboklab(69.27% 0.1351 -0.1454)
OKLCHoklch(69.27% 0.198 312.9)
XYZxyz(45.1071, 30.0060, 87.4028)
Luminance0.3000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C670F2 #9CF270
analogous
#8570F2 #C670F2 #F270DD
triadic
#C670F2 #F2C670 #70F2C6
tetradic
#C670F2 #F28570 #9CF270 #70DDF2
square
#C670F2 #F28570 #9CF270 #70DDF2
split-complementary
#C670F2 #DDF270 #70F285
monochromatic
#9313D4 #B038ED #C670F2 #DCA8F7 #F3E0FC

Accessibility & contrast

On white

3.00
#C670F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#C670F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C670F2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C670F2#FFFFFF#000000##000000
##C670F21.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#6A97EF
Tritanopia (blue-blind)
#C286A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c670f2;
/* rgb */ color: rgb(198, 112, 242);
/* oklch */ color: oklch(69.3% 0.198 312.9);
Tailwind
colors: {
  custom: {
    50: '#da9cf7',
    500: '#c670f2',
    950: '#000000',
  },
}
SCSS
$custom: #c670f2;
$custom-light: #da9cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#c670f2",
  "rgb": {
    "r": 198,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 279.692,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69273,
    "c": 0.19845,
    "h": 312.9
  },
  "luminance": 0.30005
}

Semantic roles & 50–950 ramp

primary
#C670F2
secondary
#D9F2CC
accent
#E00650
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C670F2

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

Preview Lab → · Contrast checker → · Palette generator →

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