#C07DF2#C07DF2

#C07DF2 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.5% C 0.176 H 309.0°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#C07DF2
RGBrgb(192, 125, 242)
HSLhsl(274, 82%, 72%)
HSVhsv(274, 48%, 95%)
CMYKcmyk(20.7%, 48.3%, 0%, 5.1%)
CIE-LABlab(63.58, 46.97, -48.98)
CIE-LCHlch(63.58, 67.86, 313.80°)
OKLaboklab(70.54% 0.1108 -0.1369)
OKLCHoklch(70.54% 0.176 309)
XYZxyz(45.0958, 32.2851, 87.8432)
Luminance0.3229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C07DF2 #AFF27D
analogous
#867DF2 #C07DF2 #F27DEA
triadic
#C07DF2 #F2C07D #7DF2C0
tetradic
#C07DF2 #F2867D #AFF27D #7DEAF2
square
#C07DF2 #F2867D #AFF27D #7DEAF2
split-complementary
#C07DF2 #EAF27D #7DF286
monochromatic
#8916DE #A545EC #C07DF2 #DBB5F8 #F2E3FC

Accessibility & contrast

On white

2.82
#C07DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#C07DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C07DF2
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C07DF2#FFFFFF#000000##000000
##C07DF21.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F97F6
Deuteranopia (green-blind)
#729BEF
Tritanopia (blue-blind)
#B990AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c07df2;
/* rgb */ color: rgb(192, 125, 242);
/* oklch */ color: oklch(70.5% 0.176 309.0);
Tailwind
colors: {
  custom: {
    50: '#d5a4f7',
    500: '#c07df2',
    950: '#000000',
  },
}
SCSS
$custom: #c07df2;
$custom-light: #d5a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c07df2",
  "rgb": {
    "r": 192,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 274.359,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70543,
    "c": 0.1761,
    "h": 309
  },
  "luminance": 0.32285
}

Semantic roles & 50–950 ramp

primary
#C07DF2
secondary
#E3F4D7
accent
#DE0763
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #C07DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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