#CA8BF7#CA8BF7

#CA8BF7 is a light, vivid violet. Relative luminance 0.377; OKLCH L 74.0% C 0.163 H 309.8°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#CA8BF7
RGBrgb(202, 139, 247)
HSLhsl(275, 87%, 76%)
HSVhsv(275, 44%, 97%)
CMYKcmyk(18.2%, 43.7%, 0%, 3.1%)
CIE-LABlab(67.83, 43.31, -44.96)
CIE-LCHlch(67.83, 62.43, 313.93°)
OKLaboklab(74.03% 0.1043 -0.125)
OKLCHoklch(74.03% 0.163 309.8)
XYZxyz(50.3751, 37.7379, 92.6080)
Luminance0.3774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BF7 #B8F78B
analogous
#948BF7 #CA8BF7 #F78BEE
triadic
#CA8BF7 #F7CA8B #8BF7CA
tetradic
#CA8BF7 #F7948B #B8F78B #8BEEF7
square
#CA8BF7 #F7948B #B8F78B #8BEEF7
split-complementary
#CA8BF7 #EEF78B #8BF794
monochromatic
#9618EF #B052F3 #CA8BF7 #E4C4FB #F2E2FD

Accessibility & contrast

On white

2.46
#CA8BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#CA8BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BF7
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BF7#FFFFFF#000000##000000
##CA8BF71.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A2FB
Deuteranopia (green-blind)
#83A6F4
Tritanopia (blue-blind)
#C59CB5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8bf7;
/* rgb */ color: rgb(202, 139, 247);
/* oklch */ color: oklch(74.0% 0.163 309.8);
Tailwind
colors: {
  custom: {
    50: '#dcaefa',
    500: '#ca8bf7',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bf7;
$custom-light: #dcaefa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bf7",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 275,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74031,
    "c": 0.16281,
    "h": 309.8
  },
  "luminance": 0.37737
}

Semantic roles & 50–950 ramp

primary
#CA8BF7
secondary
#E3F5D6
accent
#E40260
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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