#CB57F7#CB57F7

#CB57F7 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 67.0% C 0.240 H 315.3°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#CB57F7
RGBrgb(203, 87, 247)
HSLhsl(284, 91%, 65%)
HSVhsv(284, 65%, 97%)
CMYKcmyk(17.8%, 64.8%, 0%, 3.1%)
CIE-LABlab(58.25, 69.12, -60.14)
CIE-LCHlch(58.25, 91.62, 318.97°)
OKLaboklab(67.02% 0.171 -0.169)
OKLCHoklch(67.02% 0.24 315.3)
XYZxyz(44.8226, 26.2299, 90.6794)
Luminance0.2623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57F7 #83F757
analogous
#7B57F7 #CB57F7 #F757D3
triadic
#CB57F7 #F7CB57 #57F7CB
tetradic
#CB57F7 #F77B57 #83F757 #57D3F7
square
#CB57F7 #F77B57 #83F757 #57D3F7
split-complementary
#CB57F7 #D3F757 #57F77B
monochromatic
#950ACA #B91DF4 #CB57F7 #DD91FA #EFCCFD

Accessibility & contrast

On white

3.36
#CB57F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#CB57F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57F7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57F7#FFFFFF#000000##000000
##CB57F71.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0285FC
Deuteranopia (green-blind)
#548FF3
Tritanopia (blue-blind)
#C875A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb57f7;
/* rgb */ color: rgb(203, 87, 247);
/* oklch */ color: oklch(67.0% 0.240 315.3);
Tailwind
colors: {
  custom: {
    50: '#df8efb',
    500: '#cb57f7',
    950: '#000000',
  },
}
SCSS
$custom: #cb57f7;
$custom-light: #df8efb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57f7",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 247
  },
  "hsl": {
    "h": 283.5,
    "s": 90.909,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67017,
    "c": 0.24036,
    "h": 315.3
  },
  "luminance": 0.26228
}

Semantic roles & 50–950 ramp

primary
#CB57F7
secondary
#C9F0BA
accent
#E6003F
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB57F7

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

Preview Lab → · Contrast checker → · Palette generator →

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