#CA8EF7#CA8EF7

#CA8EF7 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.5% C 0.158 H 309.4°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#CA8EF7
RGBrgb(202, 142, 247)
HSLhsl(274, 87%, 76%)
HSVhsv(274, 43%, 97%)
CMYKcmyk(18.2%, 42.5%, 0%, 3.1%)
CIE-LABlab(68.47, 41.70, -43.95)
CIE-LCHlch(68.47, 60.58, 313.49°)
OKLaboklab(74.52% 0.1001 -0.1221)
OKLCHoklch(74.52% 0.158 309.4)
XYZxyz(50.8155, 38.6186, 92.7548)
Luminance0.3862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EF7 #BBF78E
analogous
#968EF7 #CA8EF7 #F78EEF
triadic
#CA8EF7 #F7CA8E #8EF7CA
tetradic
#CA8EF7 #F7968E #BBF78E #8EEFF7
square
#CA8EF7 #F7968E #BBF78E #8EEFF7
split-complementary
#CA8EF7 #EFF78E #8EF796
monochromatic
#941CEF #AF55F3 #CA8EF7 #E5C7FB #F2E2FD

Accessibility & contrast

On white

2.41
#CA8EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#CA8EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8EF7
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8EF7#FFFFFF#000000##000000
##CA8EF71.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A4FB
Deuteranopia (green-blind)
#86A8F4
Tritanopia (blue-blind)
#C49EB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca8ef7;
/* rgb */ color: rgb(202, 142, 247);
/* oklch */ color: oklch(74.5% 0.158 309.4);
Tailwind
colors: {
  custom: {
    50: '#dcb0fa',
    500: '#ca8ef7',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ef7;
$custom-light: #dcb0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ef7",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 274.286,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74517,
    "c": 0.15792,
    "h": 309.4
  },
  "luminance": 0.38618
}

Semantic roles & 50–950 ramp

primary
#CA8EF7
secondary
#E3F5D6
accent
#E30263
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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