#CA78FF#CA78FF

#CA78FF is a light, highly saturated violet. Relative luminance 0.332; OKLCH L 71.6% C 0.202 H 310.3°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#CA78FF
RGBrgb(202, 120, 255)
HSLhsl(276, 100%, 74%)
HSVhsv(276, 53%, 100%)
CMYKcmyk(20.8%, 52.9%, 0%, 0%)
CIE-LABlab(64.33, 54.99, -54.87)
CIE-LCHlch(64.33, 77.68, 315.06°)
OKLaboklab(71.56% 0.1305 -0.1537)
OKLCHoklch(71.56% 0.202 310.3)
XYZxyz(49.1202, 33.2104, 98.4110)
Luminance0.3321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78FF #ADFF78
analogous
#8678FF #CA78FF #FF78F1
triadic
#CA78FF #FFCA78 #78FFCA
tetradic
#CA78FF #FF8678 #ADFF78 #78F1FF
square
#CA78FF #FF8678 #ADFF78 #78F1FF
split-complementary
#CA78FF #F1FF78 #78FF86
monochromatic
#9900FD #B23BFF #CA78FF #E2B5FF #F3E0FF

Accessibility & contrast

On white

2.75
#CA78FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#CA78FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78FF
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78FF#FFFFFF#000000##000000
##CA78FF1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#6C9DFC
Tritanopia (blue-blind)
#C38FB0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca78ff;
/* rgb */ color: rgb(202, 120, 255);
/* oklch */ color: oklch(71.6% 0.202 310.3);
Tailwind
colors: {
  custom: {
    50: '#dda2ff',
    500: '#ca78ff',
    950: '#000000',
  },
}
SCSS
$custom: #ca78ff;
$custom-light: #dda2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78ff",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 276.444,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7156,
    "c": 0.20163,
    "h": 310.3
  },
  "luminance": 0.33209
}

Semantic roles & 50–950 ramp

primary
#CA78FF
secondary
#E2F7D4
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CA78FF

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

Preview Lab → · Contrast checker → · Palette generator →

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