#B274FA#B274FA

#B274FA is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.2% C 0.195 H 302.9°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B274FA
RGBrgb(178, 116, 250)
HSLhsl(268, 93%, 72%)
HSVhsv(268, 54%, 98%)
CMYKcmyk(28.8%, 53.6%, 0%, 2%)
CIE-LABlab(60.66, 49.99, -58.13)
CIE-LCHlch(60.66, 76.67, 310.70°)
OKLaboklab(68.18% 0.1062 -0.1639)
OKLCHoklch(68.18% 0.195 302.9)
XYZxyz(41.8569, 28.8579, 93.7889)
Luminance0.2886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B274FA #BCFA74
analogous
#7479FA #B274FA #F574FA
triadic
#B274FA #FAB274 #74FAB2
tetradic
#B274FA #FA7479 #BCFA74 #74FAF5
square
#B274FA #FA7479 #BCFA74 #74FAF5
split-complementary
#B274FA #FAF574 #79FA74
monochromatic
#7108EB #9139F8 #B274FA #D3AFFC #EFE1FE

Accessibility & contrast

On white

3.10
#B274FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#B274FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B274FA
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B274FA#FFFFFF#000000##000000
##B274FA1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4391FF
Deuteranopia (green-blind)
#5792F7
Tritanopia (blue-blind)
#A58EAC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b274fa;
/* rgb */ color: rgb(178, 116, 250);
/* oklch */ color: oklch(68.2% 0.195 302.9);
Tailwind
colors: {
  custom: {
    50: '#cc9efc',
    500: '#b274fa',
    950: '#000000',
  },
}
SCSS
$custom: #b274fa;
$custom-light: #cc9efc;
$custom-dark: #000000;
JSON
{
  "hex": "#b274fa",
  "rgb": {
    "r": 178,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 267.761,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68179,
    "c": 0.1953,
    "h": 302.9
  },
  "luminance": 0.28858
}

Semantic roles & 50–950 ramp

primary
#B274FA
secondary
#E6F6D4
accent
#E6007B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B274FA

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

Preview Lab → · Contrast checker → · Palette generator →

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