#CA7FF8#CA7FF8

#CA7FF8 is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.2% C 0.183 H 311.2°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#CA7FF8
RGBrgb(202, 127, 248)
HSLhsl(277, 90%, 74%)
HSVhsv(277, 49%, 97%)
CMYKcmyk(18.5%, 48.8%, 0%, 2.7%)
CIE-LABlab(65.37, 49.88, -49.38)
CIE-LCHlch(65.37, 70.19, 315.29°)
OKLaboklab(72.21% 0.1207 -0.1378)
OKLCHoklch(72.21% 0.183 311.2)
XYZxyz(48.8867, 34.5136, 92.8752)
Luminance0.3451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FF8 #ADF87F
analogous
#8D7FF8 #CA7FF8 #F87FEA
triadic
#CA7FF8 #F8CA7F #7FF8CA
tetradic
#CA7FF8 #F88D7F #ADF87F #7FEAF8
square
#CA7FF8 #F88D7F #ADF87F #7FEAF8
split-complementary
#CA7FF8 #EAF87F #7FF88D
monochromatic
#990DF0 #B245F5 #CA7FF8 #E2B9FB #F3E2FD

Accessibility & contrast

On white

2.66
#CA7FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#CA7FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FF8
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FF8#FFFFFF#000000##000000
##CA7FF81.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFC
Deuteranopia (green-blind)
#77A0F5
Tritanopia (blue-blind)
#C593B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ca7ff8;
/* rgb */ color: rgb(202, 127, 248);
/* oklch */ color: oklch(72.2% 0.183 311.2);
Tailwind
colors: {
  custom: {
    50: '#dca6fb',
    500: '#ca7ff8',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ff8;
$custom-light: #dca6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ff8",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 277.19,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72212,
    "c": 0.18318,
    "h": 311.2
  },
  "luminance": 0.34513
}

Semantic roles & 50–950 ramp

primary
#CA7FF8
secondary
#E2F5D6
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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