#B274CA#B274CA

#B274CA is a light, vivid purple. Relative luminance 0.262; OKLCH L 65.6% C 0.140 H 316.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B274CA
RGBrgb(178, 116, 202)
HSLhsl(283, 45%, 62%)
HSVhsv(283, 43%, 79%)
CMYKcmyk(11.9%, 42.6%, 0%, 20.8%)
CIE-LABlab(58.25, 39.26, -35.11)
CIE-LCHlch(58.25, 52.66, 318.19°)
OKLaboklab(65.6% 0.1007 -0.097)
OKLCHoklch(65.6% 0.14 316.1)
XYZxyz(35.2646, 26.2210, 59.0692)
Luminance0.2622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B274CA #8CCA74
analogous
#8774CA #B274CA #CA74B7
triadic
#B274CA #CAB274 #74CAB2
tetradic
#B274CA #CA8774 #8CCA74 #74B7CA
square
#B274CA #CA8774 #8CCA74 #74B7CA
split-complementary
#B274CA #B7CA74 #74CA87
monochromatic
#75368E #9948B9 #B274CA #CBA0DB #E3CDEC

Accessibility & contrast

On white

3.36
#B274CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#B274CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B274CA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B274CA#FFFFFF#000000##000000
##B274CA1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6588CD
Deuteranopia (green-blind)
#758EC8
Tritanopia (blue-blind)
#B18095
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b274ca;
/* rgb */ color: rgb(178, 116, 202);
/* oklch */ color: oklch(65.6% 0.140 316.1);
Tailwind
colors: {
  custom: {
    50: '#ca9dda',
    500: '#b274ca',
    950: '#000000',
  },
}
SCSS
$custom: #b274ca;
$custom-light: #ca9dda;
$custom-dark: #000000;
JSON
{
  "hex": "#b274ca",
  "rgb": {
    "r": 178,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 283.256,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65603,
    "c": 0.13981,
    "h": 316.1
  },
  "luminance": 0.2622
}

Semantic roles & 50–950 ramp

primary
#B274CA
secondary
#C6DDBD
accent
#B82E54
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B274CA

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

Preview Lab → · Contrast checker → · Palette generator →

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