#CA7BF4#CA7BF4

#CA7BF4 is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.4% C 0.185 H 312.7°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#CA7BF4
RGBrgb(202, 123, 244)
HSLhsl(279, 85%, 72%)
HSVhsv(279, 50%, 96%)
CMYKcmyk(17.2%, 49.6%, 0%, 4.3%)
CIE-LABlab(64.37, 51.12, -48.77)
CIE-LCHlch(64.37, 70.65, 316.35°)
OKLaboklab(71.41% 0.1256 -0.136)
OKLCHoklch(71.41% 0.185 312.7)
XYZxyz(47.7664, 33.2552, 89.4730)
Luminance0.3325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BF4 #A5F47B
analogous
#8E7BF4 #CA7BF4 #F47BE1
triadic
#CA7BF4 #F4CA7B #7BF4CA
tetradic
#CA7BF4 #F48E7B #A5F47B #7BE1F4
square
#CA7BF4 #F48E7B #A5F47B #7BE1F4
split-complementary
#CA7BF4 #E1F47B #7BF48E
monochromatic
#9A13E2 #B343EF #CA7BF4 #E1B3F9 #F4E3FD

Accessibility & contrast

On white

2.74
#CA7BF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#CA7BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BF4
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BF4#FFFFFF#000000##000000
##CA7BF41.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E98F8
Deuteranopia (green-blind)
#769EF1
Tritanopia (blue-blind)
#C68EAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7bf4;
/* rgb */ color: rgb(202, 123, 244);
/* oklch */ color: oklch(71.4% 0.185 312.7);
Tailwind
colors: {
  custom: {
    50: '#dca3f8',
    500: '#ca7bf4',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bf4;
$custom-light: #dca3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bf4",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 279.174,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71406,
    "c": 0.1851,
    "h": 312.7
  },
  "luminance": 0.33254
}

Semantic roles & 50–950 ramp

primary
#CA7BF4
secondary
#E1F5D6
accent
#E10451
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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