#CA83F2#CA83F2

#CA83F2 is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.5% C 0.170 H 312.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#CA83F2
RGBrgb(202, 131, 242)
HSLhsl(278, 81%, 73%)
HSVhsv(278, 46%, 95%)
CMYKcmyk(16.5%, 45.9%, 0%, 5.1%)
CIE-LABlab(65.90, 46.51, -45.24)
CIE-LCHlch(65.90, 64.88, 315.79°)
OKLaboklab(72.52% 0.1145 -0.1258)
OKLCHoklch(72.52% 0.17 312.3)
XYZxyz(48.4977, 35.2010, 88.2268)
Luminance0.3520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA83F2 #ABF283
analogous
#9283F2 #CA83F2 #F283E3
triadic
#CA83F2 #F2CA83 #83F2CA
tetradic
#CA83F2 #F29283 #ABF283 #83E3F2
square
#CA83F2 #F29283 #ABF283 #83E3F2
split-complementary
#CA83F2 #E3F283 #83F292
monochromatic
#9A18E3 #B24CEC #CA83F2 #E2BAF8 #F3E3FC

Accessibility & contrast

On white

2.61
#CA83F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#CA83F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA83F2
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA83F2#FFFFFF#000000##000000
##CA83F21.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9CF6
Deuteranopia (green-blind)
#7EA2EF
Tritanopia (blue-blind)
#C694AF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca83f2;
/* rgb */ color: rgb(202, 131, 242);
/* oklch */ color: oklch(72.5% 0.170 312.3);
Tailwind
colors: {
  custom: {
    50: '#dca9f7',
    500: '#ca83f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca83f2;
$custom-light: #dca9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca83f2",
  "rgb": {
    "r": 202,
    "g": 131,
    "b": 242
  },
  "hsl": {
    "h": 278.378,
    "s": 81.022,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72519,
    "c": 0.17011,
    "h": 312.3
  },
  "luminance": 0.352
}

Semantic roles & 50–950 ramp

primary
#CA83F2
secondary
#E1F4D7
accent
#DD0855
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CA83F2

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

Preview Lab → · Contrast checker → · Palette generator →

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