#7235BC#7235BC

#7235BC is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.4% C 0.199 H 299.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7235BC
RGBrgb(114, 53, 188)
HSLhsl(267, 56%, 47%)
HSVhsv(267, 72%, 74%)
CMYKcmyk(39.4%, 71.8%, 0%, 26.3%)
CIE-LABlab(37.40, 53.13, -60.72)
CIE-LCHlch(37.40, 80.68, 311.19°)
OKLaboklab(48.4% 0.0978 -0.1733)
OKLCHoklch(48.4% 0.199 299.4)
XYZxyz(17.2874, 9.7543, 48.5392)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7235BC #7FBC35
analogous
#353BBC #7235BC #B635BC
triadic
#7235BC #BC7235 #35BC72
tetradic
#7235BC #BC353B #7FBC35 #35BCB6
square
#7235BC #BC353B #7FBC35 #35BCB6
split-complementary
#7235BC #BCB635 #3BBC35
monochromatic
#381A5D #55288C #7235BC #915DD1 #B28DDF

Accessibility & contrast

On white

7.12
#7235BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7235BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7235BC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7235BC#FFFFFF#000000##FFFFFF
##7235BC1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#615675
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7235bc;
/* rgb */ color: rgb(114, 53, 188);
/* oklch */ color: oklch(48.4% 0.199 299.4);
Tailwind
colors: {
  custom: {
    50: '#a172d1',
    500: '#7235bc',
    950: '#000000',
  },
}
SCSS
$custom: #7235bc;
$custom-light: #a172d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7235bc",
  "rgb": {
    "r": 114,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 267.111,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48399,
    "c": 0.19903,
    "h": 299.4
  },
  "luminance": 0.09754
}

Semantic roles & 50–950 ramp

primary
#7235BC
secondary
#AAC984
accent
#DF489B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7235BC

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

Preview Lab → · Contrast checker → · Palette generator →

#7235BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva