#B274CD#B274CD

#B274CD is a light, vivid purple. Relative luminance 0.264; OKLCH L 65.7% C 0.143 H 315.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B274CD
RGBrgb(178, 116, 205)
HSLhsl(282, 47%, 63%)
HSVhsv(282, 43%, 80%)
CMYKcmyk(13.2%, 43.4%, 0%, 19.6%)
CIE-LABlab(58.38, 39.89, -36.59)
CIE-LCHlch(58.38, 54.13, 317.47°)
OKLaboklab(65.75% 0.1013 -0.1013)
OKLCHoklch(65.75% 0.143 315)
XYZxyz(35.6232, 26.3644, 60.9580)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B274CD #8FCD74
analogous
#8574CD #B274CD #CD74BB
triadic
#B274CD #CDB274 #74CDB2
tetradic
#B274CD #CD8574 #8FCD74 #74BBCD
square
#B274CD #CD8574 #8FCD74 #74BBCD
split-complementary
#B274CD #BBCD74 #74CD85
monochromatic
#763592 #9947BD #B274CD #CBA1DD #E4CEED

Accessibility & contrast

On white

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

On black

6.27
#B274CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B274CD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B274CD#FFFFFF#000000##000000
##B274CD1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6489D0
Deuteranopia (green-blind)
#748ECA
Tritanopia (blue-blind)
#B08197
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b274cd;
/* rgb */ color: rgb(178, 116, 205);
/* oklch */ color: oklch(65.7% 0.143 315.0);
Tailwind
colors: {
  custom: {
    50: '#ca9ddc',
    500: '#b274cd',
    950: '#000000',
  },
}
SCSS
$custom: #b274cd;
$custom-light: #ca9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#b274cd",
  "rgb": {
    "r": 178,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 281.798,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65749,
    "c": 0.1432,
    "h": 315
  },
  "luminance": 0.26364
}

Semantic roles & 50–950 ramp

primary
#B274CD
secondary
#C8DEBE
accent
#BA2B57
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B274CD

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

Preview Lab → · Contrast checker → · Palette generator →

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