#B274E6#B274E6

#B274E6 is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.0% C 0.172 H 307.5°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B274E6
RGBrgb(178, 116, 230)
HSLhsl(273, 70%, 68%)
HSVhsv(273, 50%, 90%)
CMYKcmyk(22.6%, 49.6%, 0%, 9.8%)
CIE-LABlab(59.59, 45.37, -48.74)
CIE-LCHlch(59.59, 66.58, 312.95°)
OKLaboklab(67.04% 0.1047 -0.1365)
OKLCHoklch(67.04% 0.172 307.5)
XYZxyz(38.8856, 27.6694, 78.1398)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B274E6 #A8E674
analogous
#7974E6 #B274E6 #E674E1
triadic
#B274E6 #E6B274 #74E6B2
tetradic
#B274E6 #E67974 #A8E674 #74E1E6
square
#B274E6 #E67974 #A8E674 #74E1E6
split-complementary
#B274E6 #E1E674 #74E679
monochromatic
#7722BE #9540DD #B274E6 #CFA8EF #EBDCF9

Accessibility & contrast

On white

3.21
#B274E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#B274E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B274E6
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B274E6#FFFFFF#000000##000000
##B274E61.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#548DEA
Deuteranopia (green-blind)
#6690E3
Tritanopia (blue-blind)
#AA88A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b274e6;
/* rgb */ color: rgb(178, 116, 230);
/* oklch */ color: oklch(67.0% 0.172 307.5);
Tailwind
colors: {
  custom: {
    50: '#cb9eee',
    500: '#b274e6',
    950: '#000000',
  },
}
SCSS
$custom: #b274e6;
$custom-light: #cb9eee;
$custom-dark: #000000;
JSON
{
  "hex": "#b274e6",
  "rgb": {
    "r": 178,
    "g": 116,
    "b": 230
  },
  "hsl": {
    "h": 272.632,
    "s": 69.512,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67044,
    "c": 0.17201,
    "h": 307.5
  },
  "luminance": 0.27669
}

Semantic roles & 50–950 ramp

primary
#B274E6
secondary
#D9ECC9
accent
#D1146A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B274E6

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

Preview Lab → · Contrast checker → · Palette generator →

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