#C07CEB#C07CEB

#C07CEB is a light, vivid violet. Relative luminance 0.316; OKLCH L 70.0% C 0.170 H 311.0°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#C07CEB
RGBrgb(192, 124, 235)
HSLhsl(277, 74%, 70%)
HSVhsv(277, 47%, 92%)
CMYKcmyk(18.3%, 47.2%, 0%, 7.8%)
CIE-LABlab(63.03, 45.97, -45.98)
CIE-LCHlch(63.03, 65.02, 314.99°)
OKLaboklab(70.02% 0.1113 -0.1281)
OKLCHoklch(70.02% 0.17 311)
XYZxyz(43.9386, 31.6207, 82.3699)
Luminance0.3162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C07CEB #A7EB7C
analogous
#887CEB #C07CEB #EB7CDE
triadic
#C07CEB #EBC07C #7CEBC0
tetradic
#C07CEB #EB887C #A7EB7C #7CDEEB
square
#C07CEB #EB887C #A7EB7C #7CDEEB
split-complementary
#C07CEB #DEEB7C #7CEB88
monochromatic
#8A1FCD #A647E3 #C07CEB #DAB1F3 #F2E4FB

Accessibility & contrast

On white

2.87
#C07CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#C07CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C07CEB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C07CEB#FFFFFF#000000##000000
##C07CEB1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#759AE8
Tritanopia (blue-blind)
#BB8EA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c07ceb;
/* rgb */ color: rgb(192, 124, 235);
/* oklch */ color: oklch(70.0% 0.170 311.0);
Tailwind
colors: {
  custom: {
    50: '#d5a3f2',
    500: '#c07ceb',
    950: '#000000',
  },
}
SCSS
$custom: #c07ceb;
$custom-light: #d5a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c07ceb",
  "rgb": {
    "r": 192,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 276.757,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70023,
    "c": 0.16973,
    "h": 311
  },
  "luminance": 0.3162
}

Semantic roles & 50–950 ramp

primary
#C07CEB
secondary
#DEF1D2
accent
#D6105C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #C07CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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