#B274CC#B274CC

#B274CC is a light, vivid purple. Relative luminance 0.263; OKLCH L 65.7% C 0.142 H 315.4°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B274CC
RGBrgb(178, 116, 204)
HSLhsl(282, 46%, 63%)
HSVhsv(282, 43%, 80%)
CMYKcmyk(12.7%, 43.1%, 0%, 20%)
CIE-LABlab(58.34, 39.68, -36.10)
CIE-LCHlch(58.34, 53.64, 317.70°)
OKLaboklab(65.7% 0.1011 -0.0998)
OKLCHoklch(65.7% 0.142 315.4)
XYZxyz(35.5029, 26.3163, 60.3244)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B274CC #8ECC74
analogous
#8674CC #B274CC #CC74BA
triadic
#B274CC #CCB274 #74CCB2
tetradic
#B274CC #CC8674 #8ECC74 #74BACC
square
#B274CC #CC8674 #8ECC74 #74BACC
split-complementary
#B274CC #BACC74 #74CC86
monochromatic
#763591 #9947BC #B274CC #CBA1DC #E4CEED

Accessibility & contrast

On white

3.35
#B274CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#B274CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B274CC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B274CC#FFFFFF#000000##000000
##B274CC1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6489CF
Deuteranopia (green-blind)
#748EC9
Tritanopia (blue-blind)
#B18096
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b274cc;
/* rgb */ color: rgb(178, 116, 204);
/* oklch */ color: oklch(65.7% 0.142 315.4);
Tailwind
colors: {
  custom: {
    50: '#ca9ddc',
    500: '#b274cc',
    950: '#000000',
  },
}
SCSS
$custom: #b274cc;
$custom-light: #ca9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#b274cc",
  "rgb": {
    "r": 178,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 282.273,
    "s": 46.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.657,
    "c": 0.14207,
    "h": 315.4
  },
  "luminance": 0.26315
}

Semantic roles & 50–950 ramp

primary
#B274CC
secondary
#C7DEBE
accent
#BA2C56
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B274CC

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

Preview Lab → · Contrast checker → · Palette generator →

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