#CB7AEF#CB7AEF

#CB7AEF is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.1% C 0.182 H 314.6°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#CB7AEF
RGBrgb(203, 122, 239)
HSLhsl(282, 79%, 71%)
HSVhsv(282, 49%, 94%)
CMYKcmyk(15.1%, 49%, 0%, 6.3%)
CIE-LABlab(64.04, 50.86, -46.52)
CIE-LCHlch(64.04, 68.92, 317.55°)
OKLaboklab(71.11% 0.1275 -0.1294)
OKLCHoklch(71.11% 0.182 314.6)
XYZxyz(47.1656, 32.8488, 85.5005)
Luminance0.3285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7AEF #9EEF7A
analogous
#907AEF #CB7AEF #EF7AD9
triadic
#CB7AEF #EFCB7A #7AEFCB
tetradic
#CB7AEF #EF907A #9EEF7A #7AD9EF
square
#CB7AEF #EF907A #9EEF7A #7AD9EF
split-complementary
#CB7AEF #D9EF7A #7AEF90
monochromatic
#9B1AD5 #B643E8 #CB7AEF #E0B1F6 #F4E4FC

Accessibility & contrast

On white

2.77
#CB7AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#CB7AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7AEF
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7AEF#FFFFFF#000000##000000
##CB7AEF1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F3
Deuteranopia (green-blind)
#799DEC
Tritanopia (blue-blind)
#C88CAA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb7aef;
/* rgb */ color: rgb(203, 122, 239);
/* oklch */ color: oklch(71.1% 0.182 314.6);
Tailwind
colors: {
  custom: {
    50: '#dda3f5',
    500: '#cb7aef',
    950: '#000000',
  },
}
SCSS
$custom: #cb7aef;
$custom-light: #dda3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7aef",
  "rgb": {
    "r": 203,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 281.538,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71108,
    "c": 0.18171,
    "h": 314.6
  },
  "luminance": 0.32848
}

Semantic roles & 50–950 ramp

primary
#CB7AEF
secondary
#DCF2D3
accent
#DB0B4B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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