#C07FFE#C07FFE

#C07FFE is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.5% C 0.187 H 305.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#C07FFE
RGBrgb(192, 127, 254)
HSLhsl(271, 98%, 75%)
HSVhsv(271, 50%, 100%)
CMYKcmyk(24.4%, 50%, 0%, 0.4%)
CIE-LABlab(64.60, 48.58, -53.97)
CIE-LCHlch(64.60, 72.61, 312.00°)
OKLaboklab(71.5% 0.1094 -0.1514)
OKLCHoklch(71.5% 0.187 305.8)
XYZxyz(47.2133, 33.5413, 97.7336)
Luminance0.3354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C07FFE #BDFE7F
analogous
#817FFE #C07FFE #FE7FFC
triadic
#C07FFE #FEC07F #7FFEC0
tetradic
#C07FFE #FE817F #BDFE7F #7FFCFE
square
#C07FFE #FE817F #BDFE7F #7FFCFE
split-complementary
#C07FFE #FCFE7F #7FFE81
monochromatic
#8406FD #A242FE #C07FFE #DEBCFE #F0E1FF

Accessibility & contrast

On white

2.72
#C07FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#C07FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C07FFE
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C07FFE#FFFFFF#000000##000000
##C07FFE1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#599BFF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#B695B3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c07ffe;
/* rgb */ color: rgb(192, 127, 254);
/* oklch */ color: oklch(71.5% 0.187 305.8);
Tailwind
colors: {
  custom: {
    50: '#d6a6ff',
    500: '#c07ffe',
    950: '#000000',
  },
}
SCSS
$custom: #c07ffe;
$custom-light: #d6a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c07ffe",
  "rgb": {
    "r": 192,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 270.709,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71497,
    "c": 0.18677,
    "h": 305.8
  },
  "luminance": 0.33541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C07FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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