#B274BF#B274BF

#B274BF is a light, vivid purple. Relative luminance 0.257; OKLCH L 65.1% C 0.128 H 320.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B274BF
RGBrgb(178, 116, 191)
HSLhsl(290, 37%, 60%)
HSVhsv(290, 39%, 75%)
CMYKcmyk(6.8%, 39.3%, 0%, 25.1%)
CIE-LABlab(57.77, 37.00, -29.60)
CIE-LCHlch(57.77, 47.38, 321.34°)
OKLaboklab(65.09% 0.0985 -0.0812)
OKLCHoklch(65.09% 0.128 320.5)
XYZxyz(34.0083, 25.7185, 52.4528)
Luminance0.2572 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B274BF #81BF74
analogous
#8C74BF #B274BF #BF74A6
triadic
#B274BF #BFB274 #74BFB2
tetradic
#B274BF #BF8C74 #81BF74 #74A6BF
square
#B274BF #BF8C74 #81BF74 #74A6BF
split-complementary
#B274BF #A6BF74 #74BF8C
monochromatic
#733A7E #994DA8 #B274BF #C99ED2 #E0C8E6

Accessibility & contrast

On white

3.42
#B274BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#B274BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B274BF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B274BF#FFFFFF#000000##000000
##B274BF1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A86C2
Deuteranopia (green-blind)
#7A8DBD
Tritanopia (blue-blind)
#B37D91
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b274bf;
/* rgb */ color: rgb(178, 116, 191);
/* oklch */ color: oklch(65.1% 0.128 320.5);
Tailwind
colors: {
  custom: {
    50: '#ca9dd2',
    500: '#b274bf',
    950: '#000000',
  },
}
SCSS
$custom: #b274bf;
$custom-light: #ca9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#b274bf",
  "rgb": {
    "r": 178,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 289.6,
    "s": 36.946,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65088,
    "c": 0.12764,
    "h": 320.5
  },
  "luminance": 0.25717
}

Semantic roles & 50–950 ramp

primary
#B274BF
secondary
#BED6B9
accent
#B0364B
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B274BF

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

Preview Lab → · Contrast checker → · Palette generator →

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