#CB46FC#CB46FC

#CB46FC is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.6% C 0.265 H 315.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CB46FC
RGBrgb(203, 70, 252)
HSLhsl(284, 97%, 63%)
HSVhsv(284, 72%, 99%)
CMYKcmyk(19.4%, 72.2%, 0%, 1.2%)
CIE-LABlab(56.19, 76.74, -66.23)
CIE-LCHlch(56.19, 101.36, 319.20°)
OKLaboklab(65.64% 0.1875 -0.1867)
OKLCHoklch(65.64% 0.265 315.1)
XYZxyz(44.3866, 24.1067, 94.3915)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB46FC #77FC46
analogous
#7046FC #CB46FC #FC46D2
triadic
#CB46FC #FCCB46 #46FCCB
tetradic
#CB46FC #FC7046 #77FC46 #46D2FC
square
#CB46FC #FC7046 #77FC46 #46D2FC
split-complementary
#CB46FC #D2FC46 #46FC70
monochromatic
#9003C4 #BA0AFB #CB46FC #DC82FD #EDBEFE

Accessibility & contrast

On white

3.61
#CB46FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CB46FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB46FC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB46FC#FFFFFF#000000##000000
##CB46FC1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#3F8AF8
Tritanopia (blue-blind)
#C76D9E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb46fc;
/* rgb */ color: rgb(203, 70, 252);
/* oklch */ color: oklch(65.6% 0.265 315.1);
Tailwind
colors: {
  custom: {
    50: '#e085fe',
    500: '#cb46fc',
    950: '#000000',
  },
}
SCSS
$custom: #cb46fc;
$custom-light: #e085fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb46fc",
  "rgb": {
    "r": 203,
    "g": 70,
    "b": 252
  },
  "hsl": {
    "h": 283.846,
    "s": 96.809,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65641,
    "c": 0.26457,
    "h": 315.1
  },
  "luminance": 0.24105
}

Semantic roles & 50–950 ramp

primary
#CB46FC
secondary
#C0EFAE
accent
#E6003E
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #CB46FC

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

Preview Lab → · Contrast checker → · Palette generator →

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