#B794FC#B794FC

#B794FC is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.0% C 0.150 H 298.2°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#B794FC
RGBrgb(183, 148, 252)
HSLhsl(260, 95%, 78%)
HSVhsv(260, 41%, 99%)
CMYKcmyk(27.4%, 41.3%, 0%, 1.2%)
CIE-LABlab(68.22, 34.27, -47.20)
CIE-LCHlch(68.22, 58.33, 305.98°)
OKLaboklab(73.98% 0.0707 -0.132)
OKLCHoklch(73.98% 0.15 298.2)
XYZxyz(47.6849, 38.2750, 96.9522)
Luminance0.3827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B794FC #D9FC94
analogous
#94A5FC #B794FC #EB94FC
triadic
#B794FC #FCB794 #94FCB7
tetradic
#B794FC #FC94A5 #D9FC94 #94FCEB
square
#B794FC #FC94A5 #D9FC94 #94FCEB
split-complementary
#B794FC #FCEB94 #A5FC94
monochromatic
#671DF9 #8F58FA #B794FC #DFD0FE #EBE1FE

Accessibility & contrast

On white

2.43
#B794FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#B794FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B794FC
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B794FC#FFFFFF#000000##000000
##B794FC1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FF
Deuteranopia (green-blind)
#7EA5F9
Tritanopia (blue-blind)
#A9A6BC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b794fc;
/* rgb */ color: rgb(183, 148, 252);
/* oklch */ color: oklch(74.0% 0.150 298.2);
Tailwind
colors: {
  custom: {
    50: '#cfb4fe',
    500: '#b794fc',
    950: '#000000',
  },
}
SCSS
$custom: #b794fc;
$custom-light: #cfb4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b794fc",
  "rgb": {
    "r": 183,
    "g": 148,
    "b": 252
  },
  "hsl": {
    "h": 260.192,
    "s": 94.545,
    "l": 78.431
  },
  "oklch": {
    "l": 0.73979,
    "c": 0.14969,
    "h": 298.2
  },
  "luminance": 0.38275
}

Semantic roles & 50–950 ramp

primary
#B794FC
secondary
#EBF6D5
accent
#E60098
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B794FC

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

Preview Lab → · Contrast checker → · Palette generator →

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