#B264F5#B264F5

#B264F5 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.6% C 0.213 H 306.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B264F5
RGBrgb(178, 100, 245)
HSLhsl(272, 88%, 68%)
HSVhsv(272, 59%, 96%)
CMYKcmyk(27.3%, 59.2%, 0%, 3.9%)
CIE-LABlab(57.24, 57.09, -60.82)
CIE-LCHlch(57.24, 83.42, 313.19°)
OKLaboklab(65.59% 0.1256 -0.1718)
OKLCHoklch(65.59% 0.213 306.2)
XYZxyz(39.3952, 25.1722, 89.1518)
Luminance0.2517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264F5 #A7F564
analogous
#6964F5 #B264F5 #F564EF
triadic
#B264F5 #F5B264 #64F5B2
tetradic
#B264F5 #F56964 #A7F564 #64EFF5
square
#B264F5 #F56964 #A7F564 #64EFF5
split-complementary
#B264F5 #EFF564 #64F569
monochromatic
#770DD1 #952BF1 #B264F5 #CF9DF9 #EBD7FC

Accessibility & contrast

On white

3.48
#B264F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#B264F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264F5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264F5#FFFFFF#000000##000000
##B264F51.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2187FA
Deuteranopia (green-blind)
#488AF2
Tritanopia (blue-blind)
#A781A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b264f5;
/* rgb */ color: rgb(178, 100, 245);
/* oklch */ color: oklch(65.6% 0.213 306.2);
Tailwind
colors: {
  custom: {
    50: '#cd94f9',
    500: '#b264f5',
    950: '#000000',
  },
}
SCSS
$custom: #b264f5;
$custom-light: #cd94f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b264f5",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 272.276,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65585,
    "c": 0.21282,
    "h": 306.2
  },
  "luminance": 0.25172
}

Semantic roles & 50–950 ramp

primary
#B264F5
secondary
#D9F1C4
accent
#E4016A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B264F5

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

Preview Lab → · Contrast checker → · Palette generator →

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