#B274EA#B274EA

#B274EA is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.3% C 0.177 H 306.5°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B274EA
RGBrgb(178, 116, 234)
HSLhsl(272, 74%, 69%)
HSVhsv(272, 50%, 92%)
CMYKcmyk(23.9%, 50.4%, 0%, 8.2%)
CIE-LABlab(59.80, 46.28, -50.64)
CIE-LCHlch(59.80, 68.60, 312.42°)
OKLaboklab(67.26% 0.1051 -0.142)
OKLCHoklch(67.26% 0.177 306.5)
XYZxyz(39.4537, 27.8966, 81.1321)
Luminance0.2790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B274EA #ACEA74
analogous
#7774EA #B274EA #EA74E7
triadic
#B274EA #EAB274 #74EAB2
tetradic
#B274EA #EA7774 #ACEA74 #74E7EA
square
#B274EA #EA7774 #ACEA74 #74E7EA
split-complementary
#B274EA #E7EA74 #74EA77
monochromatic
#761EC6 #953FE2 #B274EA #CFA9F2 #EDDEFA

Accessibility & contrast

On white

3.19
#B274EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#B274EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B274EA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B274EA#FFFFFF#000000##000000
##B274EA1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEE
Deuteranopia (green-blind)
#6491E7
Tritanopia (blue-blind)
#A989A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b274ea;
/* rgb */ color: rgb(178, 116, 234);
/* oklch */ color: oklch(67.3% 0.177 306.5);
Tailwind
colors: {
  custom: {
    50: '#cc9ef1',
    500: '#b274ea',
    950: '#000000',
  },
}
SCSS
$custom: #b274ea;
$custom-light: #cc9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#b274ea",
  "rgb": {
    "r": 178,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 271.525,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67264,
    "c": 0.17667,
    "h": 306.5
  },
  "luminance": 0.27896
}

Semantic roles & 50–950 ramp

primary
#B274EA
secondary
#DCEFCB
accent
#D6106E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B274EA

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

Preview Lab → · Contrast checker → · Palette generator →

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