#C338BF#C338BF

#C338BF is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.7% C 0.227 H 329.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C338BF
RGBrgb(195, 56, 191)
HSLhsl(302, 55%, 49%)
HSVhsv(302, 71%, 76%)
CMYKcmyk(0%, 71.3%, 2.1%, 23.5%)
CIE-LABlab(49.73, 69.24, -42.03)
CIE-LCHlch(49.73, 81.00, 328.74°)
OKLaboklab(59.65% 0.1949 -0.1161)
OKLCHoklch(59.65% 0.227 329.2)
XYZxyz(33.3235, 18.1945, 51.0369)
Luminance0.1819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C338BF #38C33C
analogous
#8238C3 #C338BF #C33879
triadic
#C338BF #BFC338 #38BFC3
tetradic
#C338BF #C38238 #38C33C #3879C3
square
#C338BF #C38238 #38C33C #3879C3
split-complementary
#C338BF #79C338 #38C382
monochromatic
#641D62 #932A90 #C338BF #D365D0 #E195DE

Accessibility & contrast

On white

4.53
#C338BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#C338BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C338BF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C338BF#FFFFFF#000000##000000
##C338BF1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#246AC3
Deuteranopia (green-blind)
#607DBC
Tritanopia (blue-blind)
#CA4B78
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c338bf;
/* rgb */ color: rgb(195, 56, 191);
/* oklch */ color: oklch(59.7% 0.227 329.2);
Tailwind
colors: {
  custom: {
    50: '#d97cd3',
    500: '#c338bf',
    950: '#000000',
  },
}
SCSS
$custom: #c338bf;
$custom-light: #d97cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#c338bf",
  "rgb": {
    "r": 195,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 301.727,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59651,
    "c": 0.22689,
    "h": 329.2
  },
  "luminance": 0.18192
}

Semantic roles & 50–950 ramp

primary
#C338BF
secondary
#8BCC8D
accent
#DF4D49
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C338BF

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

Preview Lab → · Contrast checker → · Palette generator →

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