#C07FF2#C07FF2

#C07FF2 is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.9% C 0.173 H 308.7°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#C07FF2
RGBrgb(192, 127, 242)
HSLhsl(274, 82%, 72%)
HSVhsv(274, 48%, 95%)
CMYKcmyk(20.7%, 47.5%, 0%, 5.1%)
CIE-LABlab(64.00, 45.90, -48.32)
CIE-LCHlch(64.00, 66.65, 313.53°)
OKLaboklab(70.86% 0.1081 -0.1349)
OKLCHoklch(70.86% 0.173 308.7)
XYZxyz(45.3515, 32.7966, 87.9284)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C07FF2 #B1F27F
analogous
#877FF2 #C07FF2 #F27FEA
triadic
#C07FF2 #F2C07F #7FF2C0
tetradic
#C07FF2 #F2877F #B1F27F #7FEAF2
square
#C07FF2 #F2877F #B1F27F #7FEAF2
split-complementary
#C07FF2 #EAF27F #7FF287
monochromatic
#8817E0 #A547EC #C07FF2 #DBB7F8 #F1E3FC

Accessibility & contrast

On white

2.78
#C07FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#C07FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C07FF2
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C07FF2#FFFFFF#000000##000000
##C07FF21.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#749CEF
Tritanopia (blue-blind)
#B992AD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c07ff2;
/* rgb */ color: rgb(192, 127, 242);
/* oklch */ color: oklch(70.9% 0.173 308.7);
Tailwind
colors: {
  custom: {
    50: '#d5a6f7',
    500: '#c07ff2',
    950: '#000000',
  },
}
SCSS
$custom: #c07ff2;
$custom-light: #d5a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c07ff2",
  "rgb": {
    "r": 192,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 273.913,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70855,
    "c": 0.17292,
    "h": 308.7
  },
  "luminance": 0.32796
}

Semantic roles & 50–950 ramp

primary
#C07FF2
secondary
#E4F4D7
accent
#DE0865
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #C07FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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