#C07EEC#C07EEC

#C07EEC is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.4% C 0.168 H 310.4°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#C07EEC
RGBrgb(192, 126, 236)
HSLhsl(276, 74%, 71%)
HSVhsv(276, 47%, 93%)
CMYKcmyk(18.6%, 46.6%, 0%, 7.5%)
CIE-LABlab(63.50, 45.12, -45.80)
CIE-LCHlch(63.50, 64.29, 314.57°)
OKLaboklab(70.39% 0.1087 -0.1276)
OKLCHoklch(70.39% 0.168 310.4)
XYZxyz(44.3366, 32.1851, 83.2173)
Luminance0.3218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C07EEC #AAEC7E
analogous
#897EEC #C07EEC #EC7EE1
triadic
#C07EEC #ECC07E #7EECC0
tetradic
#C07EEC #EC897E #AAEC7E #7EE1EC
square
#C07EEC #EC897E #AAEC7E #7EE1EC
split-complementary
#C07EEC #E1EC7E #7EEC89
monochromatic
#8A1FD1 #A649E4 #C07EEC #DAB3F4 #F2E4FB

Accessibility & contrast

On white

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

On black

7.44
#C07EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C07EEC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C07EEC#FFFFFF#000000##000000
##C07EEC1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F0
Deuteranopia (green-blind)
#769BE9
Tritanopia (blue-blind)
#BB8FAA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c07eec;
/* rgb */ color: rgb(192, 126, 236);
/* oklch */ color: oklch(70.4% 0.168 310.4);
Tailwind
colors: {
  custom: {
    50: '#d5a5f2',
    500: '#c07eec',
    950: '#000000',
  },
}
SCSS
$custom: #c07eec;
$custom-light: #d5a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c07eec",
  "rgb": {
    "r": 192,
    "g": 126,
    "b": 236
  },
  "hsl": {
    "h": 276,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70387,
    "c": 0.16764,
    "h": 310.4
  },
  "luminance": 0.32184
}

Semantic roles & 50–950 ramp

primary
#C07EEC
secondary
#E0F2D4
accent
#D60F5F
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #C07EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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