#CB7ED5#CB7ED5

#CB7ED5 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.5% C 0.148 H 322.8°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#CB7ED5
RGBrgb(203, 126, 213)
HSLhsl(293, 51%, 66%)
HSVhsv(293, 41%, 84%)
CMYKcmyk(4.7%, 40.8%, 0%, 16.5%)
CIE-LABlab(63.69, 43.58, -32.61)
CIE-LCHlch(63.69, 54.43, 323.20°)
OKLaboklab(70.47% 0.1177 -0.0894)
OKLCHoklch(70.47% 0.148 322.8)
XYZxyz(44.0984, 32.4240, 66.8734)
Luminance0.3242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7ED5 #88D57E
analogous
#A07ED5 #CB7ED5 #D57EB4
triadic
#CB7ED5 #D5CB7E #7ED5CB
tetradic
#CB7ED5 #D5A07E #88D57E #7EB4D5
square
#CB7ED5 #D5A07E #88D57E #7EB4D5
split-complementary
#CB7ED5 #B4D57E #7ED5A0
monochromatic
#9735A3 #B850C6 #CB7ED5 #DEACE4 #F0DAF3

Accessibility & contrast

On white

2.81
#CB7ED5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#CB7ED5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7ED5
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7ED5#FFFFFF#000000##000000
##CB7ED51.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7495D8
Deuteranopia (green-blind)
#889DD2
Tritanopia (blue-blind)
#CE88A0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb7ed5;
/* rgb */ color: rgb(203, 126, 213);
/* oklch */ color: oklch(70.5% 0.148 322.8);
Tailwind
colors: {
  custom: {
    50: '#dca5e2',
    500: '#cb7ed5',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ed5;
$custom-light: #dca5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ed5",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 213
  },
  "hsl": {
    "h": 293.103,
    "s": 50.877,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70469,
    "c": 0.14782,
    "h": 322.8
  },
  "luminance": 0.32422
}

Semantic roles & 50–950 ramp

primary
#CB7ED5
secondary
#CDE6C9
accent
#BE2739
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CB7ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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