#CB38FA#CB38FA

#CB38FA is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 64.4% C 0.276 H 316.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CB38FA
RGBrgb(203, 56, 250)
HSLhsl(285, 95%, 60%)
HSVhsv(285, 78%, 98%)
CMYKcmyk(18.8%, 77.6%, 0%, 2%)
CIE-LABlab(54.48, 80.92, -67.88)
CIE-LCHlch(54.48, 105.63, 320.01°)
OKLaboklab(64.39% 0.1993 -0.1915)
OKLCHoklch(64.39% 0.276 316.1)
XYZxyz(43.2954, 22.4288, 92.4725)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB38FA #67FA38
analogous
#6A38FA #CB38FA #FA38C8
triadic
#CB38FA #FACB38 #38FACB
tetradic
#CB38FA #FA6A38 #67FA38 #38C8FA
square
#CB38FA #FA6A38 #67FA38 #38C8FA
split-complementary
#CB38FA #C8FA38 #38FA6A
monochromatic
#8905B3 #B606EF #CB38FA #DB74FB #EAAFFD

Accessibility & contrast

On white

3.83
#CB38FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CB38FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB38FA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB38FA#FFFFFF#000000##000000
##CB38FA1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#3586F6
Tritanopia (blue-blind)
#C86599
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb38fa;
/* rgb */ color: rgb(203, 56, 250);
/* oklch */ color: oklch(64.4% 0.276 316.1);
Tailwind
colors: {
  custom: {
    50: '#e07ffd',
    500: '#cb38fa',
    950: '#000000',
  },
}
SCSS
$custom: #cb38fa;
$custom-light: #e07ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb38fa",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 250
  },
  "hsl": {
    "h": 285.464,
    "s": 95.098,
    "l": 60
  },
  "oklch": {
    "l": 0.64388,
    "c": 0.27636,
    "h": 316.1
  },
  "luminance": 0.22427
}

Semantic roles & 50–950 ramp

primary
#CB38FA
secondary
#B4ECA2
accent
#FF295D
background
#FEF8FF
surface
#FDEFFF
border
#D5CAD7
text
#160B18
muted
#847C86

Preview Lab

Preview with #CB38FA

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

Preview Lab → · Contrast checker → · Palette generator →

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