#B795CA#B795CA

#B795CA is a light, moderate violet. Relative luminance 0.358; OKLCH L 71.9% C 0.084 H 313.2°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#B795CA
RGBrgb(183, 149, 202)
HSLhsl(278, 33%, 69%)
HSVhsv(278, 26%, 79%)
CMYKcmyk(9.4%, 26.2%, 0%, 20.8%)
CIE-LABlab(66.39, 22.47, -22.49)
CIE-LCHlch(66.39, 31.79, 314.98°)
OKLaboklab(71.9% 0.0575 -0.0612)
OKLCHoklch(71.9% 0.084 313.2)
XYZxyz(40.9348, 35.8270, 60.6245)
Luminance0.3583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B795CA #A8CA95
analogous
#9D95CA #B795CA #CA95C3
triadic
#B795CA #CAB795 #95CAB7
tetradic
#B795CA #CA9D95 #A8CA95 #95C3CA
square
#B795CA #CA9D95 #A8CA95 #95C3CA
split-complementary
#B795CA #C3CA95 #95CA9D
monochromatic
#7D4C98 #9B6CB6 #B795CA #D3BEDE #EEE7F3

Accessibility & contrast

On white

2.57
#B795CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#B795CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B795CA
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B795CA#FFFFFF#000000##000000
##B795CA1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CC
Deuteranopia (green-blind)
#94A2C8
Tritanopia (blue-blind)
#B69BA8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b795ca;
/* rgb */ color: rgb(183, 149, 202);
/* oklch */ color: oklch(71.9% 0.084 313.2);
Tailwind
colors: {
  custom: {
    50: '#cdb4da',
    500: '#b795ca',
    950: '#000000',
  },
}
SCSS
$custom: #b795ca;
$custom-light: #cdb4da;
$custom-dark: #000000;
JSON
{
  "hex": "#b795ca",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 202
  },
  "hsl": {
    "h": 278.491,
    "s": 33.333,
    "l": 68.824
  },
  "oklch": {
    "l": 0.719,
    "c": 0.08402,
    "h": 313.2
  },
  "luminance": 0.35826
}

Semantic roles & 50–950 ramp

primary
#B795CA
secondary
#DBE5D6
accent
#AC3963
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#131114
muted
#828083

Preview Lab

Preview with #B795CA

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

Preview Lab → · Contrast checker → · Palette generator →

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