#CB3FB7#CB3FB7

#CB3FB7 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.0% C 0.217 H 334.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CB3FB7
RGBrgb(203, 63, 183)
HSLhsl(309, 57%, 52%)
HSVhsv(309, 69%, 80%)
CMYKcmyk(0%, 69%, 9.9%, 20.4%)
CIE-LABlab(51.47, 67.42, -34.56)
CIE-LCHlch(51.47, 75.76, 332.86°)
OKLaboklab(61.02% 0.1957 -0.0945)
OKLCHoklch(61.02% 0.217 334.2)
XYZxyz(34.9536, 19.6734, 46.7470)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3FB7 #3FCB53
analogous
#993FCB #CB3FB7 #CB3F71
triadic
#CB3FB7 #B7CB3F #3FB7CB
tetradic
#CB3FB7 #CB993F #3FCB53 #3F71CB
square
#CB3FB7 #CB993F #3FCB53 #3F71CB
split-complementary
#CB3FB7 #71CB3F #3FCB99
monochromatic
#711F65 #A12C90 #CB3FB7 #D86FC9 #E59FDB

Accessibility & contrast

On white

4.26
#CB3FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CB3FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3FB7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3FB7#FFFFFF#000000##000000
##CB3FB71.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBA
Deuteranopia (green-blind)
#6D82B4
Tritanopia (blue-blind)
#D44A76
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb3fb7;
/* rgb */ color: rgb(203, 63, 183);
/* oklch */ color: oklch(61.0% 0.217 334.2);
Tailwind
colors: {
  custom: {
    50: '#df80cd',
    500: '#cb3fb7',
    950: '#000000',
  },
}
SCSS
$custom: #cb3fb7;
$custom-light: #df80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3fb7",
  "rgb": {
    "r": 203,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 308.571,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61018,
    "c": 0.21729,
    "h": 334.2
  },
  "luminance": 0.1967
}

Semantic roles & 50–950 ramp

primary
#CB3FB7
secondary
#94D19D
accent
#E15D47
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB3FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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