#CB7AF4#CB7AF4

#CB7AF4 is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.4% C 0.187 H 313.2°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#CB7AF4
RGBrgb(203, 122, 244)
HSLhsl(280, 85%, 72%)
HSVhsv(280, 50%, 96%)
CMYKcmyk(16.8%, 50%, 0%, 4.3%)
CIE-LABlab(64.28, 51.90, -48.89)
CIE-LCHlch(64.28, 71.30, 316.71°)
OKLaboklab(71.37% 0.1281 -0.1363)
OKLCHoklch(71.37% 0.187 313.2)
XYZxyz(47.9145, 33.1484, 89.4446)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7AF4 #A3F47A
analogous
#8E7AF4 #CB7AF4 #F47AE0
triadic
#CB7AF4 #F4CB7A #7AF4CB
tetradic
#CB7AF4 #F48E7A #A3F47A #7AE0F4
square
#CB7AF4 #F48E7A #A3F47A #7AE0F4
split-complementary
#CB7AF4 #E0F47A #7AF48E
monochromatic
#9C13E1 #B541EF #CB7AF4 #E1B3F9 #F4E3FD

Accessibility & contrast

On white

2.75
#CB7AF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#CB7AF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7AF4
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7AF4#FFFFFF#000000##000000
##CB7AF41.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb7af4;
/* rgb */ color: rgb(203, 122, 244);
/* oklch */ color: oklch(71.4% 0.187 313.2);
Tailwind
colors: {
  custom: {
    50: '#dda3f8',
    500: '#cb7af4',
    950: '#000000',
  },
}
SCSS
$custom: #cb7af4;
$custom-light: #dda3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7af4",
  "rgb": {
    "r": 203,
    "g": 122,
    "b": 244
  },
  "hsl": {
    "h": 279.836,
    "s": 84.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71367,
    "c": 0.18707,
    "h": 313.2
  },
  "luminance": 0.33147
}

Semantic roles & 50–950 ramp

primary
#CB7AF4
secondary
#E0F4D5
accent
#E1044F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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