#B274FD#B274FD

#B274FD is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.4% C 0.199 H 302.3°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#B274FD
RGBrgb(178, 116, 253)
HSLhsl(267, 97%, 72%)
HSVhsv(267, 54%, 99%)
CMYKcmyk(29.6%, 54.2%, 0%, 0.8%)
CIE-LABlab(60.82, 50.70, -59.51)
CIE-LCHlch(60.82, 78.18, 310.43°)
OKLaboklab(68.36% 0.1063 -0.168)
OKLCHoklch(68.36% 0.199 302.3)
XYZxyz(42.3311, 29.0476, 96.2861)
Luminance0.2905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B274FD #BFFD74
analogous
#747BFD #B274FD #F674FD
triadic
#B274FD #FDB274 #74FDB2
tetradic
#B274FD #FD747B #BFFD74 #74FDF6
square
#B274FD #FD747B #BFFD74 #74FDF6
split-complementary
#B274FD #FDF674 #7BFD74
monochromatic
#7003F3 #9138FC #B274FD #D3B0FE #EEE1FF

Accessibility & contrast

On white

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

On black

6.81
#B274FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B274FD
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B274FD#FFFFFF#000000##000000
##B274FD1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#5592FA
Tritanopia (blue-blind)
#A48FAE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b274fd;
/* rgb */ color: rgb(178, 116, 253);
/* oklch */ color: oklch(68.4% 0.199 302.3);
Tailwind
colors: {
  custom: {
    50: '#cd9eff',
    500: '#b274fd',
    950: '#000000',
  },
}
SCSS
$custom: #b274fd;
$custom-light: #cd9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#b274fd",
  "rgb": {
    "r": 178,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 267.153,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68357,
    "c": 0.19878,
    "h": 302.3
  },
  "luminance": 0.29048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B274FD

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

Preview Lab → · Contrast checker → · Palette generator →

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