#C238BF#C238BF

#C238BF is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.5% C 0.226 H 328.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C238BF
RGBrgb(194, 56, 191)
HSLhsl(301, 55%, 49%)
HSVhsv(301, 71%, 76%)
CMYKcmyk(0%, 71.1%, 1.5%, 23.9%)
CIE-LABlab(49.57, 69.02, -42.29)
CIE-LCHlch(49.57, 80.95, 328.50°)
OKLaboklab(59.51% 0.1939 -0.1169)
OKLCHoklch(59.51% 0.226 328.9)
XYZxyz(33.0660, 18.0617, 51.0248)
Luminance0.1806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238BF #38C23B
analogous
#8038C2 #C238BF #C2387A
triadic
#C238BF #BFC238 #38BFC2
tetradic
#C238BF #C28038 #38C23B #387AC2
square
#C238BF #C28038 #38C23B #387AC2
split-complementary
#C238BF #7AC238 #38C280
monochromatic
#631D61 #932A90 #C238BF #D265D0 #E094DF

Accessibility & contrast

On white

4.55
#C238BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#C238BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C238BF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238BF#FFFFFF#000000##000000
##C238BF1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#236AC3
Deuteranopia (green-blind)
#5F7CBC
Tritanopia (blue-blind)
#C94C78
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c238bf;
/* rgb */ color: rgb(194, 56, 191);
/* oklch */ color: oklch(59.5% 0.226 328.9);
Tailwind
colors: {
  custom: {
    50: '#d87cd3',
    500: '#c238bf',
    950: '#000000',
  },
}
SCSS
$custom: #c238bf;
$custom-light: #d87cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#c238bf",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 301.304,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59505,
    "c": 0.2264,
    "h": 328.9
  },
  "luminance": 0.18059
}

Semantic roles & 50–950 ramp

primary
#C238BF
secondary
#8ACB8C
accent
#DF4D49
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C238BF

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

Preview Lab → · Contrast checker → · Palette generator →

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