#B274FE#B274FE

#B274FE is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.4% C 0.200 H 302.1°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#B274FE
RGBrgb(178, 116, 254)
HSLhsl(267, 99%, 73%)
HSVhsv(267, 54%, 100%)
CMYKcmyk(29.9%, 54.3%, 0%, 0.4%)
CIE-LABlab(60.88, 50.94, -59.98)
CIE-LCHlch(60.88, 78.69, 310.34°)
OKLaboklab(68.42% 0.1063 -0.1693)
OKLCHoklch(68.42% 0.2 302.1)
XYZxyz(42.4908, 29.1114, 97.1272)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B274FE #C0FE74
analogous
#747BFE #B274FE #F774FE
triadic
#B274FE #FEB274 #74FEB2
tetradic
#B274FE #FE747B #C0FE74 #74FEF7
square
#B274FE #FE747B #C0FE74 #74FEF7
split-complementary
#B274FE #FEF774 #7BFE74
monochromatic
#6F02F6 #9037FE #B274FE #D4B1FE #EEE1FF

Accessibility & contrast

On white

3.08
#B274FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#B274FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B274FE
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B274FE#FFFFFF#000000##000000
##B274FE1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E92FF
Deuteranopia (green-blind)
#5492FB
Tritanopia (blue-blind)
#A38FAE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b274fe;
/* rgb */ color: rgb(178, 116, 254);
/* oklch */ color: oklch(68.4% 0.200 302.1);
Tailwind
colors: {
  custom: {
    50: '#cd9eff',
    500: '#b274fe',
    950: '#000000',
  },
}
SCSS
$custom: #b274fe;
$custom-light: #cd9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#b274fe",
  "rgb": {
    "r": 178,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 266.957,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68416,
    "c": 0.19994,
    "h": 302.1
  },
  "luminance": 0.29112
}

Semantic roles & 50–950 ramp

primary
#B274FE
secondary
#E7F7D4
accent
#E6007E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B274FE

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

Preview Lab → · Contrast checker → · Palette generator →

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