#C07DEF#C07DEF

#C07DEF is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.4% C 0.173 H 309.8°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#C07DEF
RGBrgb(192, 125, 239)
HSLhsl(275, 78%, 71%)
HSVhsv(275, 48%, 94%)
CMYKcmyk(19.7%, 47.7%, 0%, 6.3%)
CIE-LABlab(63.43, 46.31, -47.56)
CIE-LCHlch(63.43, 66.38, 314.24°)
OKLaboklab(70.39% 0.1105 -0.1327)
OKLCHoklch(70.39% 0.173 309.8)
XYZxyz(44.6489, 32.1064, 85.4897)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C07DEF #ACEF7D
analogous
#877DEF #C07DEF #EF7DE5
triadic
#C07DEF #EFC07D #7DEFC0
tetradic
#C07DEF #EF877D #ACEF7D #7DE5EF
square
#C07DEF #EF877D #ACEF7D #7DE5EF
split-complementary
#C07DEF #E5EF7D #7DEF87
monochromatic
#891AD7 #A647E8 #C07DEF #DAB3F6 #F2E4FC

Accessibility & contrast

On white

2.83
#C07DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#C07DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C07DEF
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C07DEF#FFFFFF#000000##000000
##C07DEF1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6197F3
Deuteranopia (green-blind)
#749BEC
Tritanopia (blue-blind)
#BA90AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c07def;
/* rgb */ color: rgb(192, 125, 239);
/* oklch */ color: oklch(70.4% 0.173 309.8);
Tailwind
colors: {
  custom: {
    50: '#d5a4f5',
    500: '#c07def',
    950: '#000000',
  },
}
SCSS
$custom: #c07def;
$custom-light: #d5a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c07def",
  "rgb": {
    "r": 192,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 275.263,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70386,
    "c": 0.17267,
    "h": 309.8
  },
  "luminance": 0.32106
}

Semantic roles & 50–950 ramp

primary
#C07DEF
secondary
#E1F3D5
accent
#DA0B61
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #C07DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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