#CA74FB#CA74FB

#CA74FB is a light, highly saturated violet. Relative luminance 0.320; OKLCH L 70.8% C 0.203 H 311.7°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CA74FB
RGBrgb(202, 116, 251)
HSLhsl(278, 94%, 72%)
HSVhsv(278, 54%, 98%)
CMYKcmyk(19.5%, 53.8%, 0%, 1.6%)
CIE-LABlab(63.35, 56.16, -54.23)
CIE-LCHlch(63.35, 78.07, 316.01°)
OKLaboklab(70.77% 0.1353 -0.1519)
OKLCHoklch(70.77% 0.203 311.7)
XYZxyz(48.0120, 32.0134, 94.8981)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74FB #A5FB74
analogous
#8774FB #CA74FB #FB74E9
triadic
#CA74FB #FBCA74 #74FBCA
tetradic
#CA74FB #FB8774 #A5FB74 #74E9FB
square
#CA74FB #FB8774 #A5FB74 #74E9FB
split-complementary
#CA74FB #E9FB74 #74FB87
monochromatic
#9A07EE #B339F9 #CA74FB #E1AFFD #F4E1FE

Accessibility & contrast

On white

2.84
#CA74FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#CA74FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74FB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74FB#FFFFFF#000000##000000
##CA74FB1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E95FF
Deuteranopia (green-blind)
#6B9BF8
Tritanopia (blue-blind)
#C58BAD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca74fb;
/* rgb */ color: rgb(202, 116, 251);
/* oklch */ color: oklch(70.8% 0.203 311.7);
Tailwind
colors: {
  custom: {
    50: '#dd9ffd',
    500: '#ca74fb',
    950: '#000000',
  },
}
SCSS
$custom: #ca74fb;
$custom-light: #dd9ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74fb",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 278.222,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70773,
    "c": 0.20339,
    "h": 311.7
  },
  "luminance": 0.32012
}

Semantic roles & 50–950 ramp

primary
#CA74FB
secondary
#E1F6D4
accent
#E60053
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CA74FB

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

Preview Lab → · Contrast checker → · Palette generator →

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