#C07BEC#C07BEC

#C07BEC is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.9% C 0.172 H 310.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#C07BEC
RGBrgb(192, 123, 236)
HSLhsl(277, 75%, 70%)
HSVhsv(277, 48%, 93%)
CMYKcmyk(18.6%, 47.9%, 0%, 7.5%)
CIE-LABlab(62.87, 46.72, -46.79)
CIE-LCHlch(62.87, 66.12, 314.96°)
OKLaboklab(69.92% 0.1128 -0.1305)
OKLCHoklch(69.92% 0.172 310.8)
XYZxyz(43.9588, 31.4293, 83.0914)
Luminance0.3143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C07BEC #A7EC7B
analogous
#877BEC #C07BEC #EC7BDF
triadic
#C07BEC #ECC07B #7BECC0
tetradic
#C07BEC #EC877B #A7EC7B #7BDFEC
square
#C07BEC #EC877B #A7EC7B #7BDFEC
split-complementary
#C07BEC #DFEC7B #7BEC87
monochromatic
#8A1ECF #A646E4 #C07BEC #DAB0F4 #F2E4FB

Accessibility & contrast

On white

2.88
#C07BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#C07BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C07BEC
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C07BEC#FFFFFF#000000##000000
##C07BEC1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6095F0
Deuteranopia (green-blind)
#7399E9
Tritanopia (blue-blind)
#BB8DA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c07bec;
/* rgb */ color: rgb(192, 123, 236);
/* oklch */ color: oklch(69.9% 0.172 310.8);
Tailwind
colors: {
  custom: {
    50: '#d5a3f2',
    500: '#c07bec',
    950: '#000000',
  },
}
SCSS
$custom: #c07bec;
$custom-light: #d5a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c07bec",
  "rgb": {
    "r": 192,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 276.637,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6992,
    "c": 0.17246,
    "h": 310.8
  },
  "luminance": 0.31429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C07BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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