#C07EF2#C07EF2

#C07EF2 is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.7% C 0.175 H 308.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#C07EF2
RGBrgb(192, 126, 242)
HSLhsl(274, 82%, 72%)
HSVhsv(274, 48%, 95%)
CMYKcmyk(20.7%, 47.9%, 0%, 5.1%)
CIE-LABlab(63.79, 46.43, -48.65)
CIE-LCHlch(63.79, 67.25, 313.66°)
OKLaboklab(70.7% 0.1095 -0.1359)
OKLCHoklch(70.7% 0.175 308.8)
XYZxyz(45.2230, 32.5396, 87.8856)
Luminance0.3254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C07EF2 #B0F27E
analogous
#867EF2 #C07EF2 #F27EEA
triadic
#C07EF2 #F2C07E #7EF2C0
tetradic
#C07EF2 #F2867E #B0F27E #7EEAF2
square
#C07EF2 #F2867E #B0F27E #7EEAF2
split-complementary
#C07EF2 #EAF27E #7EF286
monochromatic
#8916DF #A546EC #C07EF2 #DBB6F8 #F1E3FC

Accessibility & contrast

On white

2.80
#C07EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#C07EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C07EF2
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C07EF2#FFFFFF#000000##000000
##C07EF21.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6098F6
Deuteranopia (green-blind)
#739BEF
Tritanopia (blue-blind)
#B991AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c07ef2;
/* rgb */ color: rgb(192, 126, 242);
/* oklch */ color: oklch(70.7% 0.175 308.8);
Tailwind
colors: {
  custom: {
    50: '#d5a5f7',
    500: '#c07ef2',
    950: '#000000',
  },
}
SCSS
$custom: #c07ef2;
$custom-light: #d5a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c07ef2",
  "rgb": {
    "r": 192,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 274.138,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70699,
    "c": 0.17451,
    "h": 308.8
  },
  "luminance": 0.32539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C07EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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