#B274FF#B274FF

#B274FF is a light, highly saturated violet. Relative luminance 0.292; OKLCH L 68.5% C 0.201 H 301.9°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#B274FF
RGBrgb(178, 116, 255)
HSLhsl(267, 100%, 73%)
HSVhsv(267, 55%, 100%)
CMYKcmyk(30.2%, 54.5%, 0%, 0%)
CIE-LABlab(60.94, 51.17, -60.43)
CIE-LCHlch(60.94, 79.19, 310.26°)
OKLaboklab(68.48% 0.1064 -0.1707)
OKLCHoklch(68.48% 0.201 301.9)
XYZxyz(42.6513, 29.1757, 97.9728)
Luminance0.2918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B274FF #C1FF74
analogous
#747BFF #B274FF #F874FF
triadic
#B274FF #FFB274 #74FFB2
tetradic
#B274FF #FF747B #C1FF74 #74FFF8
square
#B274FF #FF747B #C1FF74 #74FFF8
split-complementary
#B274FF #FFF874 #7BFF74
monochromatic
#6F00F9 #9037FF #B274FF #D4B1FF #EEE0FF

Accessibility & contrast

On white

3.07
#B274FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#B274FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B274FF
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B274FF#FFFFFF#000000##000000
##B274FF1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D92FF
Deuteranopia (green-blind)
#5392FC
Tritanopia (blue-blind)
#A38FAF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b274ff;
/* rgb */ color: rgb(178, 116, 255);
/* oklch */ color: oklch(68.5% 0.201 301.9);
Tailwind
colors: {
  custom: {
    50: '#cd9eff',
    500: '#b274ff',
    950: '#000000',
  },
}
SCSS
$custom: #b274ff;
$custom-light: #cd9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#b274ff",
  "rgb": {
    "r": 178,
    "g": 116,
    "b": 255
  },
  "hsl": {
    "h": 266.763,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68476,
    "c": 0.2011,
    "h": 301.9
  },
  "luminance": 0.29176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B274FF

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

Preview Lab → · Contrast checker → · Palette generator →

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