#C789FD#C789FD

#C789FD is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.7% C 0.172 H 307.3°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#C789FD
RGBrgb(199, 137, 253)
HSLhsl(272, 97%, 76%)
HSVhsv(272, 46%, 99%)
CMYKcmyk(21.3%, 45.8%, 0%, 0.8%)
CIE-LABlab(67.37, 44.87, -48.98)
CIE-LCHlch(67.37, 66.43, 312.49°)
OKLaboklab(73.71% 0.1044 -0.1367)
OKLCHoklch(73.71% 0.172 307.3)
XYZxyz(50.2250, 37.1258, 97.4296)
Luminance0.3713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C789FD #BFFD89
analogous
#8D89FD #C789FD #FD89F9
triadic
#C789FD #FDC789 #89FDC7
tetradic
#C789FD #FD8D89 #BFFD89 #89F9FD
square
#C789FD #FD8D89 #BFFD89 #89F9FD
split-complementary
#C789FD #F9FD89 #89FD8D
monochromatic
#8E11FB #AA4DFC #C789FD #E4C5FE #F1E1FE

Accessibility & contrast

On white

2.49
#C789FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#C789FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C789FD
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C789FD#FFFFFF#000000##000000
##C789FD1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#7CA5FA
Tritanopia (blue-blind)
#BF9CB7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c789fd;
/* rgb */ color: rgb(199, 137, 253);
/* oklch */ color: oklch(73.7% 0.172 307.3);
Tailwind
colors: {
  custom: {
    50: '#daadfe',
    500: '#c789fd',
    950: '#000000',
  },
}
SCSS
$custom: #c789fd;
$custom-light: #daadfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c789fd",
  "rgb": {
    "r": 199,
    "g": 137,
    "b": 253
  },
  "hsl": {
    "h": 272.069,
    "s": 96.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73712,
    "c": 0.17201,
    "h": 307.3
  },
  "luminance": 0.37125
}

Semantic roles & 50–950 ramp

primary
#C789FD
secondary
#E4F7D4
accent
#E6006B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C789FD

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

Preview Lab → · Contrast checker → · Palette generator →

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