#B274BB#B274BB

#B274BB is a light, vivid purple. Relative luminance 0.255; OKLCH L 64.9% C 0.123 H 322.3°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B274BB
RGBrgb(178, 116, 187)
HSLhsl(292, 34%, 59%)
HSVhsv(292, 38%, 73%)
CMYKcmyk(4.8%, 38%, 0%, 26.7%)
CIE-LABlab(57.60, 36.20, -27.57)
CIE-LCHlch(57.60, 45.50, 322.70°)
OKLaboklab(64.91% 0.0976 -0.0754)
OKLCHoklch(64.91% 0.123 322.3)
XYZxyz(33.5741, 25.5448, 50.1662)
Luminance0.2554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B274BB #7DBB74
analogous
#8F74BB #B274BB #BB74A1
triadic
#B274BB #BBB274 #74BBB2
tetradic
#B274BB #BB8F74 #7DBB74 #74A1BB
square
#B274BB #BB8F74 #7DBB74 #74A1BB
split-complementary
#B274BB #A1BB74 #74BB8F
monochromatic
#713B79 #984FA2 #B274BB #C99DCF #E0C6E3

Accessibility & contrast

On white

3.44
#B274BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#B274BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B274BB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B274BB#FFFFFF#000000##000000
##B274BB1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C86BE
Deuteranopia (green-blind)
#7C8DB9
Tritanopia (blue-blind)
#B47C8F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b274bb;
/* rgb */ color: rgb(178, 116, 187);
/* oklch */ color: oklch(64.9% 0.123 322.3);
Tailwind
colors: {
  custom: {
    50: '#ca9dcf',
    500: '#b274bb',
    950: '#000000',
  },
}
SCSS
$custom: #b274bb;
$custom-light: #ca9dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#b274bb",
  "rgb": {
    "r": 178,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 292.394,
    "s": 34.3,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64908,
    "c": 0.12333,
    "h": 322.3
  },
  "luminance": 0.25544
}

Semantic roles & 50–950 ramp

primary
#B274BB
secondary
#BBD3B8
accent
#CA5D6B
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B274BB

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

Preview Lab → · Contrast checker → · Palette generator →

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