#B274E4#B274E4

#B274E4 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.9% C 0.170 H 308.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B274E4
RGBrgb(178, 116, 228)
HSLhsl(273, 67%, 67%)
HSVhsv(273, 49%, 89%)
CMYKcmyk(21.9%, 49.1%, 0%, 10.6%)
CIE-LABlab(59.49, 44.92, -47.78)
CIE-LCHlch(59.49, 65.58, 313.23°)
OKLaboklab(66.94% 0.1045 -0.1337)
OKLCHoklch(66.94% 0.17 308)
XYZxyz(38.6063, 27.5577, 76.6691)
Luminance0.2756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B274E4 #A6E474
analogous
#7A74E4 #B274E4 #E474DE
triadic
#B274E4 #E4B274 #74E4B2
tetradic
#B274E4 #E47A74 #A6E474 #74DEE4
square
#B274E4 #E47A74 #A6E474 #74DEE4
split-complementary
#B274E4 #DEE474 #74E47A
monochromatic
#7724BA #9641DA #B274E4 #CEA7EE #EBDAF8

Accessibility & contrast

On white

3.23
#B274E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#B274E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B274E4
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B274E4#FFFFFF#000000##000000
##B274E41.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#568DE8
Deuteranopia (green-blind)
#6790E1
Tritanopia (blue-blind)
#AB87A1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b274e4;
/* rgb */ color: rgb(178, 116, 228);
/* oklch */ color: oklch(66.9% 0.170 308.0);
Tailwind
colors: {
  custom: {
    50: '#cb9eed',
    500: '#b274e4',
    950: '#000000',
  },
}
SCSS
$custom: #b274e4;
$custom-light: #cb9eed;
$custom-dark: #000000;
JSON
{
  "hex": "#b274e4",
  "rgb": {
    "r": 178,
    "g": 116,
    "b": 228
  },
  "hsl": {
    "h": 273.214,
    "s": 67.47,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66935,
    "c": 0.16968,
    "h": 308
  },
  "luminance": 0.27557
}

Semantic roles & 50–950 ramp

primary
#B274E4
secondary
#D8EBC8
accent
#CF1669
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B274E4

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

Preview Lab → · Contrast checker → · Palette generator →

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