#CB5FBA#CB5FBA

#CB5FBA is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.8% C 0.175 H 333.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#CB5FBA
RGBrgb(203, 95, 186)
HSLhsl(309, 51%, 58%)
HSVhsv(309, 53%, 80%)
CMYKcmyk(0%, 53.2%, 8.4%, 20.4%)
CIE-LABlab(56.51, 54.43, -28.43)
CIE-LCHlch(56.51, 61.41, 332.42°)
OKLaboklab(64.76% 0.1568 -0.0772)
OKLCHoklch(64.76% 0.175 333.8)
XYZxyz(37.5838, 24.4287, 49.1805)
Luminance0.2443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FBA #5FCB70
analogous
#A65FCB #CB5FBA #CB5F84
triadic
#CB5FBA #BACB5F #5FBACB
tetradic
#CB5FBA #CBA65F #5FCB70 #5F84CB
square
#CB5FBA #CBA65F #5FCB70 #5F84CB
split-complementary
#CB5FBA #84CB5F #5FCBA6
monochromatic
#852B76 #B33AA0 #CB5FBA #DA8DCE #E9BBE2

Accessibility & contrast

On white

3.57
#CB5FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#CB5FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FBA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FBA#FFFFFF#000000##000000
##CB5FBA1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBD
Deuteranopia (green-blind)
#7D8DB7
Tritanopia (blue-blind)
#D36684
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb5fba;
/* rgb */ color: rgb(203, 95, 186);
/* oklch */ color: oklch(64.8% 0.175 333.8);
Tailwind
colors: {
  custom: {
    50: '#dd91cf',
    500: '#cb5fba',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fba;
$custom-light: #dd91cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fba",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 186
  },
  "hsl": {
    "h": 309.444,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64755,
    "c": 0.17475,
    "h": 333.8
  },
  "luminance": 0.24426
}

Semantic roles & 50–950 ramp

primary
#CB5FBA
secondary
#ADD8B4
accent
#DA644D
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CB5FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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