#C07DEC#C07DEC

#C07DEC is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.2% C 0.169 H 310.6°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#C07DEC
RGBrgb(192, 125, 236)
HSLhsl(276, 74%, 71%)
HSVhsv(276, 47%, 93%)
CMYKcmyk(18.6%, 47%, 0%, 7.5%)
CIE-LABlab(63.29, 45.65, -46.13)
CIE-LCHlch(63.29, 64.90, 314.70°)
OKLaboklab(70.23% 0.1101 -0.1286)
OKLCHoklch(70.23% 0.169 310.6)
XYZxyz(44.2094, 31.9306, 83.1749)
Luminance0.3193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C07DEC #A9EC7D
analogous
#887DEC #C07DEC #EC7DE1
triadic
#C07DEC #ECC07D #7DECC0
tetradic
#C07DEC #EC887D #A9EC7D #7DE1EC
square
#C07DEC #EC887D #A9EC7D #7DE1EC
split-complementary
#C07DEC #E1EC7D #7DEC88
monochromatic
#8A1ED0 #A648E4 #C07DEC #DAB2F4 #F2E4FB

Accessibility & contrast

On white

2.84
#C07DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#C07DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C07DEC
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C07DEC#FFFFFF#000000##000000
##C07DEC1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396F0
Deuteranopia (green-blind)
#759AE9
Tritanopia (blue-blind)
#BB8FA9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c07dec;
/* rgb */ color: rgb(192, 125, 236);
/* oklch */ color: oklch(70.2% 0.169 310.6);
Tailwind
colors: {
  custom: {
    50: '#d5a4f2',
    500: '#c07dec',
    950: '#000000',
  },
}
SCSS
$custom: #c07dec;
$custom-light: #d5a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c07dec",
  "rgb": {
    "r": 192,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 276.216,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70231,
    "c": 0.16925,
    "h": 310.6
  },
  "luminance": 0.3193
}

Semantic roles & 50–950 ramp

primary
#C07DEC
secondary
#DFF1D3
accent
#D70F5E
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #C07DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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