#B274FC#B274FC

#B274FC is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.3% C 0.198 H 302.5°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#B274FC
RGBrgb(178, 116, 252)
HSLhsl(267, 96%, 72%)
HSVhsv(267, 54%, 99%)
CMYKcmyk(29.4%, 54%, 0%, 1.2%)
CIE-LABlab(60.77, 50.46, -59.05)
CIE-LCHlch(60.77, 77.68, 310.52°)
OKLaboklab(68.3% 0.1063 -0.1666)
OKLCHoklch(68.3% 0.198 302.5)
XYZxyz(42.1722, 28.9840, 95.4493)
Luminance0.2898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B274FC #BEFC74
analogous
#747AFC #B274FC #F674FC
triadic
#B274FC #FCB274 #74FCB2
tetradic
#B274FC #FC747A #BEFC74 #74FCF6
square
#B274FC #FC747A #BEFC74 #74FCF6
split-complementary
#B274FC #FCF674 #7AFC74
monochromatic
#7005F0 #9138FB #B274FC #D3B0FD #EEE1FE

Accessibility & contrast

On white

3.09
#B274FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#B274FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B274FC
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B274FC#FFFFFF#000000##000000
##B274FC1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4191FF
Deuteranopia (green-blind)
#5592F9
Tritanopia (blue-blind)
#A48EAD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b274fc;
/* rgb */ color: rgb(178, 116, 252);
/* oklch */ color: oklch(68.3% 0.198 302.5);
Tailwind
colors: {
  custom: {
    50: '#cd9efe',
    500: '#b274fc',
    950: '#000000',
  },
}
SCSS
$custom: #b274fc;
$custom-light: #cd9efe;
$custom-dark: #000000;
JSON
{
  "hex": "#b274fc",
  "rgb": {
    "r": 178,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 267.353,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68297,
    "c": 0.19762,
    "h": 302.5
  },
  "luminance": 0.28984
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B274FC

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

Preview Lab → · Contrast checker → · Palette generator →

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