#C07EFE#C07EFE

#C07EFE is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.3% C 0.188 H 306.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#C07EFE
RGBrgb(192, 126, 254)
HSLhsl(271, 98%, 75%)
HSVhsv(271, 50%, 100%)
CMYKcmyk(24.4%, 50.4%, 0%, 0.4%)
CIE-LABlab(64.39, 49.11, -54.29)
CIE-LCHlch(64.39, 73.21, 312.13°)
OKLaboklab(71.34% 0.1107 -0.1524)
OKLCHoklch(71.34% 0.188 306)
XYZxyz(47.0848, 33.2843, 97.6907)
Luminance0.3328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C07EFE #BCFE7E
analogous
#807EFE #C07EFE #FE7EFC
triadic
#C07EFE #FEC07E #7EFEC0
tetradic
#C07EFE #FE807E #BCFE7E #7EFCFE
square
#C07EFE #FE807E #BCFE7E #7EFCFE
split-complementary
#C07EFE #FCFE7E #7EFE80
monochromatic
#8505FD #A241FE #C07EFE #DEBBFE #F0E1FF

Accessibility & contrast

On white

2.74
#C07EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#C07EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C07EFE
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C07EFE#FFFFFF#000000##000000
##C07EFE1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#6B9DFB
Tritanopia (blue-blind)
#B695B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c07efe;
/* rgb */ color: rgb(192, 126, 254);
/* oklch */ color: oklch(71.3% 0.188 306.0);
Tailwind
colors: {
  custom: {
    50: '#d6a5ff',
    500: '#c07efe',
    950: '#000000',
  },
}
SCSS
$custom: #c07efe;
$custom-light: #d6a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c07efe",
  "rgb": {
    "r": 192,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 270.938,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71344,
    "c": 0.18831,
    "h": 306
  },
  "luminance": 0.33284
}

Semantic roles & 50–950 ramp

primary
#C07EFE
secondary
#E5F7D4
accent
#E6006F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C07EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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