#C670F7#C670F7

#C670F7 is a light, highly saturated violet. Relative luminance 0.303; OKLCH L 69.6% C 0.204 H 311.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#C670F7
RGBrgb(198, 112, 247)
HSLhsl(278, 89%, 70%)
HSVhsv(278, 55%, 97%)
CMYKcmyk(19.8%, 54.7%, 0%, 3.1%)
CIE-LABlab(61.92, 56.32, -54.33)
CIE-LCHlch(61.92, 78.25, 316.03°)
OKLaboklab(69.55% 0.1354 -0.1522)
OKLCHoklch(69.55% 0.204 311.6)
XYZxyz(45.8684, 30.3105, 91.4119)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C670F7 #A1F770
analogous
#8270F7 #C670F7 #F770E5
triadic
#C670F7 #F7C670 #70F7C6
tetradic
#C670F7 #F78270 #A1F770 #70E5F7
square
#C670F7 #F78270 #A1F770 #70E5F7
split-complementary
#C670F7 #E5F770 #70F782
monochromatic
#930DE0 #AF36F4 #C670F7 #DDAAFA #F3E2FD

Accessibility & contrast

On white

2.97
#C670F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#C670F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C670F7
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C670F7#FFFFFF#000000##000000
##C670F71.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FB
Deuteranopia (green-blind)
#6797F4
Tritanopia (blue-blind)
#C187A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c670f7;
/* rgb */ color: rgb(198, 112, 247);
/* oklch */ color: oklch(69.6% 0.204 311.6);
Tailwind
colors: {
  custom: {
    50: '#da9cfa',
    500: '#c670f7',
    950: '#000000',
  },
}
SCSS
$custom: #c670f7;
$custom-light: #da9cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#c670f7",
  "rgb": {
    "r": 198,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 278.222,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69551,
    "c": 0.20372,
    "h": 311.6
  },
  "luminance": 0.3031
}

Semantic roles & 50–950 ramp

primary
#C670F7
secondary
#DCF4CF
accent
#E60053
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C670F7

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

Preview Lab → · Contrast checker → · Palette generator →

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