#C07FEF#C07FEF

#C07FEF is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.7% C 0.169 H 309.5°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#C07FEF
RGBrgb(192, 127, 239)
HSLhsl(275, 78%, 72%)
HSVhsv(275, 47%, 94%)
CMYKcmyk(19.7%, 46.9%, 0%, 6.3%)
CIE-LABlab(63.85, 45.24, -46.90)
CIE-LCHlch(63.85, 65.16, 313.97°)
OKLaboklab(70.7% 0.1077 -0.1308)
OKLCHoklch(70.7% 0.169 309.5)
XYZxyz(44.9047, 32.6179, 85.5749)
Luminance0.3262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C07FEF #AEEF7F
analogous
#887FEF #C07FEF #EF7FE6
triadic
#C07FEF #EFC07F #7FEFC0
tetradic
#C07FEF #EF887F #AEEF7F #7FE6EF
square
#C07FEF #EF887F #AEEF7F #7FE6EF
split-complementary
#C07FEF #E6EF7F #7FEF88
monochromatic
#891BD9 #A549E8 #C07FEF #DBB5F6 #F2E4FC

Accessibility & contrast

On white

2.79
#C07FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#C07FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C07FEF
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C07FEF#FFFFFF#000000##000000
##C07FEF1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F3
Deuteranopia (green-blind)
#759CEC
Tritanopia (blue-blind)
#BA91AC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c07fef;
/* rgb */ color: rgb(192, 127, 239);
/* oklch */ color: oklch(70.7% 0.169 309.5);
Tailwind
colors: {
  custom: {
    50: '#d5a5f5',
    500: '#c07fef',
    950: '#000000',
  },
}
SCSS
$custom: #c07fef;
$custom-light: #d5a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c07fef",
  "rgb": {
    "r": 192,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 274.821,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70699,
    "c": 0.16947,
    "h": 309.5
  },
  "luminance": 0.32617
}

Semantic roles & 50–950 ramp

primary
#C07FEF
secondary
#E3F3D7
accent
#DA0B62
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #C07FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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