#C07DF5#C07DF5

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

Color values

HEX#C07DF5
RGBrgb(192, 125, 245)
HSLhsl(274, 86%, 73%)
HSVhsv(274, 49%, 96%)
CMYKcmyk(21.6%, 49%, 0%, 3.9%)
CIE-LABlab(63.73, 47.63, -50.40)
CIE-LCHlch(63.73, 69.34, 313.38°)
OKLaboklab(70.7% 0.1111 -0.141)
OKLCHoklch(70.7% 0.18 308.2)
XYZxyz(45.5500, 32.4669, 90.2356)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C07DF5 #B2F57D
analogous
#847DF5 #C07DF5 #F57DEE
triadic
#C07DF5 #F5C07D #7DF5C0
tetradic
#C07DF5 #F5847D #B2F57D #7DEEF5
square
#C07DF5 #F5847D #B2F57D #7DEEF5
split-complementary
#C07DF5 #EEF57D #7DF584
monochromatic
#8812E6 #A444F1 #C07DF5 #DCB6F9 #F1E3FD

Accessibility & contrast

On white

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

On black

7.49
#C07DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C07DF5
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C07DF5#FFFFFF#000000##000000
##C07DF51.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D98F9
Deuteranopia (green-blind)
#709BF2
Tritanopia (blue-blind)
#B991AE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c07df5;
/* rgb */ color: rgb(192, 125, 245);
/* oklch */ color: oklch(70.7% 0.180 308.2);
Tailwind
colors: {
  custom: {
    50: '#d5a4f9',
    500: '#c07df5',
    950: '#000000',
  },
}
SCSS
$custom: #c07df5;
$custom-light: #d5a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c07df5",
  "rgb": {
    "r": 192,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 273.5,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70703,
    "c": 0.17952,
    "h": 308.2
  },
  "luminance": 0.32466
}

Semantic roles & 50–950 ramp

primary
#C07DF5
secondary
#E4F5D6
accent
#E20366
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C07DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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